This isn't valid syntax.
pip install . doesn't work, I have to do python setup.py install to get it to run.
Processing /home/kaleb/dev/scikit-build-sample-projects/projects/hello-pybind11
ERROR: Command errored out with exit status 1:
command: /home/kaleb/miniconda3/envs/py38/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-ya25c9_i/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-ya25c9_i/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-ya25c9_i/pip-egg-info
cwd: /tmp/pip-req-build-ya25c9_i/
Complete output (7 lines):
running egg_info
creating /tmp/pip-req-build-ya25c9_i/pip-egg-info/hello_pybind11.egg-info
writing /tmp/pip-req-build-ya25c9_i/pip-egg-info/hello_pybind11.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-req-build-ya25c9_i/pip-egg-info/hello_pybind11.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-req-build-ya25c9_i/pip-egg-info/hello_pybind11.egg-info/top_level.txt
writing manifest file '/tmp/pip-req-build-ya25c9_i/pip-egg-info/hello_pybind11.egg-info/SOURCES.txt'
error: package directory 'hello' does not exist
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Even after installation the installed package doesn't seem to work. If I import the hello package, there is nothing in it. The log of the build command shows it's only installing the egg?
I was hoping this example would be a good example because of the issues I've seen in scikit-build/scikit-build#424.
scikit-build-sample-projects/projects/hello-pybind11/wrap/__init__.py
Line 4 in 9888346
This isn't valid syntax.
pip install .doesn't work, I have to dopython setup.py installto get it to run.Even after installation the installed package doesn't seem to work. If I import the hello package, there is nothing in it. The log of the build command shows it's only installing the egg?
I was hoping this example would be a good example because of the issues I've seen in scikit-build/scikit-build#424.