forked from astropy/astropy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request astropy#10825 from astrofrog/add-pyproject
Fix Azure sdist job
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# NOTE: the v4.0.x branch of astropy still uses astropy-helpers | ||
# but we include pyproject.toml here so that python -m build can | ||
# work out of the box. In setup.py, we manually ensure that | ||
# astropy_helpers can be imported as an additional build time | ||
# dependency. | ||
|
||
[build-system] | ||
requires = ["setuptools", | ||
"wheel", | ||
"cython==0.29.14", | ||
"jinja2==2.10.3", | ||
# NOTE: we can't use the oldest-supported-numpy package | ||
# here because it conflicts with the setup_requires | ||
# setting in setup.cfg which is present in the v4.0.x | ||
# branch. | ||
"numpy==1.16.*; python_version<='3.7'", | ||
"numpy==1.17.*; python_version>='3.8'"] | ||
build-backend = 'setuptools.build_meta' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters