-
Notifications
You must be signed in to change notification settings - Fork 11
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 using setuptools natively #2
Conversation
Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
First, I want to thank you for contributing! This is what I need! As you can see this is my first open-source project and this is exactly where I needed help as I am not an expert on Python packaging etc. Second, for this commit, can we include a change to delete the local pybind11 subrepo then since it seems that it will be no longer needed. Thanks! |
Will do. I've enabled maintainer edits, so you're able to make changes and push them to my branch However, removing PyBind11 will break the cmake test build. I think this is fine as we only need to test the Python code, which is done via PyTest anyway |
Thanks a lot! @EpicWink |
It's used in the build requirements during install Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
This reverts commit cdfc7ed.
Hi sorry, given we have #4 coming let's just keep the pybind11 submodule for now and I will merge this. |
Now simply install with
pip install .
.This will allow for simple wheel building with
python setup.py bdist_wheel
orpip wheel . --no-deps
. This is required for PyPI distribution.Note that the bundled (Git module) PyBind11 isn't used: rather,
pip
gets is during the build process. This means people with only the source-distribution (created bypython setup.py sdist
) can install it without any pre-requisites.