-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Simplify wheel building #520
Simplify wheel building #520
Conversation
When running programs like cibuildwheel, this allows us to more easily append extra cmake arguments to the list via an environment variable. The cmake arguments are semicolon delimited. Example: EXTRA_CMAKE_ARGS=-DEIGEN3_INCLUDE_DIR=/c/eigen;-DBUILD_TYPE=Release Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
This checks if pybind11 was installed via pip. If it was, then it will automatically include the pybind11 directory in the cmake arguments. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
The previous wheel-building infrastructure used appveyor, travis-ci, and circleci. Remove these as we are doing all of the wheel building on github actions now. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
I'll take a look at the other build failures - I've been busy with deadlines, but want to make sure we get regular builds / releases again. |
The test only imports avogadro, creates a molecule, and loads xyz data from a string, and verifies that the data was loaded properly. But this indicates that the wheels are at least functional. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
I think if you push again, it should fix the build_cmake failures - it was a problem with the openchemistry cmake files. |
@ghutchis Sounds good, I am simplifying one or two things. But it should be ready soon. |
This allows us to specify dependencies to install before setup.py is ran. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
I don't know why auditwheel can't see the libraries since they are already inside the wheel. If we can figure out how to get it to see the libraries, we can skip the whole script. Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
I think this is ready to go! |
I'll check on the Windows build later - I don't think that's a serious problem. Do you know if we still need the Travis build or can we disable that after merging this? (I know it was to build wheels..) |
Looks good - the Windows break is on my side - should be fixed soon. |
This moves wheel building over to use cibuildwheel and github actions. This simplifies the wheel building logic with a lot of shared script and code paths between platforms.
On new tag pushes, the built wheels will automatically be pushed to PyPI.
The following wheels were tested: