Skip to content

Add build requirements#2

Open
mpcusack-color wants to merge 3 commits intoWyss:masterfrom
mpcusack-color:master
Open

Add build requirements#2
mpcusack-color wants to merge 3 commits intoWyss:masterfrom
mpcusack-color:master

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