Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and install wheel locally ? #140

Open
stuaxo opened this issue Mar 6, 2023 · 0 comments
Open

Build and install wheel locally ? #140

stuaxo opened this issue Mar 6, 2023 · 0 comments

Comments

@stuaxo
Copy link

stuaxo commented Mar 6, 2023

On Ubuntu 22.04, on amd64

Any idea how I can build the python package locally (so I can install it in a virtualenv?).

I can build everything with cmake, though at that point I don't have an installable whl.

If I try python setup.py build or python setup.py install skbuild gets stuck:

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/stu/.virtualenvs/nanogui/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 642, in setup
    cmkr.make(make_args, install_target=cmake_install_target, env=env)
  File "/home/stu/.virtualenvs/nanogui/lib/python3.10/site-packages/skbuild/cmaker.py", line 679, in make
    self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
  File "/home/stu/.virtualenvs/nanogui/lib/python3.10/site-packages/skbuild/cmaker.py", line 710, in make_impl
    raise SKBuildError(

An error occurred while building with CMake.
  Command:
    /usr/bin/cmake --build . --target install --config Release --
  Install target:
    install
  Source directory:
    /home/stu/projects/external/libraries/nanogui
  Working directory:
    /home/stu/projects/external/libraries/nanogui/_skbuild/linux-x86_64-3.10/cmake-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant