Skip to content

Commit

Permalink
Add pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumpe committed Apr 29, 2023
1 parent 384f918 commit a41131e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools Cython numpy pytest
python -m pip install setuptools pytest
- name: Build package
run: |
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build-system]
requires = [
"setuptools",
"wheel",
"Cython ~= 0.27",
# If the Numpy version is different at runtime than build time, the build version should be
# lower as the ABI is forward- but not backwards-compatible.
"oldest-supported-numpy",
]
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ include_package_data = true

python_requires = >= 3.7

setup_requires =
Cython~=0.27

install_requires =
numpy~=1.13
sqlalchemy~=1.1
Expand All @@ -28,7 +25,6 @@ install_requires =
click>=7.0
h5py~=3.0
scipy~=1.7
setuptools

tests_require =
pytest
Expand Down

0 comments on commit a41131e

Please sign in to comment.