Skip to content

Commit

Permalink
Avoid broken setuptools for somer versions of python when building do…
Browse files Browse the repository at this point in the history
…cs with pip
  • Loading branch information
jdjakem committed May 28, 2024
1 parent a3e263e commit 3516b12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python-version: [3.9, '3.10', '3.11']
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v2
with:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifiers=[
"Operating System :: OS Independent",
]
dependencies = [
'setuptools',
'numpy >= 1.16.4',
'matplotlib',
'scipy >= 1.0.0',
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def no_cythonize(extensions, **_ignore):
"Operating System :: OS Independent",
],
include_dirs=[np.get_include()],
setup_requires=['numpy >= 1.16.4', 'Cython', 'scipy >= 1.0.0'],
setup_requires=['numpy >= 1.16.4', 'Cython', 'scipy >= 1.0.0',
'setuptools'],
install_requires=[
'setuptools',
'numpy >= 1.16.4',
Expand Down

0 comments on commit 3516b12

Please sign in to comment.