-
Notifications
You must be signed in to change notification settings - Fork 5
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
Declare build dependency on Cython using pyproject.toml #35
Comments
@mkoeppe Did I'm curious if it failed, or if you are just suggesting pyproject.toml as a superior alternative to specifying the cython dependency. I hadn't heard of pyproject.toml before. The difference with setup.py seems perhaps to be the "build" step, which is necessary for Linux/Mac systems. (We include a pre-compiled binary for Windows since it is less likely to have the C compiler necessary to build the cython code.) |
The problem with your Also, declaring |
We may also have to do this with numpy, since it is also imported in setup.py. Not sure why; there are some strange path-manipulation lines it is used for: Lines 7 to 8 in c29b749
|
Yes |
@dave-doty @EricESeverson what are the steps/commands used upload to PyPI? I want to try to reproduce the issue in a test package so I can test out the installation after adding the |
This was some weird wizardry required to get the cython code to be able to directly access the numpy random libraries. I really don't understand how it all works. |
@UnHumbleBen These are the steps I have written down in a text file change version number |
…d-dependency-on-Cython-using-pyproject.toml-#35 Fixes #35; Declare build dependency on Cython using pyproject.toml
https://snarky.ca/what-the-heck-is-pyproject-toml/
The text was updated successfully, but these errors were encountered: