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

Add build requirements #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mpcusack-color
Copy link

@mpcusack-color mpcusack-color commented Sep 14, 2022

Adds a pyproject.toml containing build time requirements. This is needed because setup.py imports from numpy which won't be installed in a fresh venv. This made this library (and packages that depend on it- in our case aldy) difficult to package without a custom build process.

With this change doing a pip install path/to/ssw-py in a fresh venv works without first installing numpy and cython.

@aroon-color
Copy link

@ranikay Sorry for the tag, but we weren't sure who (if anyone) was still actively maintaining this in the Wyss group

@mpcusack-color
Copy link
Author

@grinner 🙏

The most canonical documention of the issue I could find: pypa/setuptools#3693

Also adds a dependency on `wheels` to silence some pip warnings.
https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#fallback-behaviour
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

Successfully merging this pull request may close these issues.

2 participants