Skip to content

Commit

Permalink
Merge pull request #177 from mkoeppe/pyproject_toml
Browse files Browse the repository at this point in the history
Add pyproject.toml, remove Cython from setup_requires, install_requires
  • Loading branch information
dimpase authored Sep 21, 2023
2 parents d9350f7 + 63d401f commit 4b4d54a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-sage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
choco install make autoconf gcc-core gcc-g++ python3${{ matrix.python-version }}-devel --source cygwin
- name: install dependencies
run: |
C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} -m pip install setuptools cysignals Cython Sphinx flake8'
C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} -m pip install setuptools cysignals 'Cython<3' Sphinx flake8'
- name: install
run: |
C:\\tools\\cygwin\\bin\\bash -l -x -c 'export PATH=/usr/local/bin:/usr/bin && cd $(cygpath -u "$GITHUB_WORKSPACE") && python3.${{ matrix.python-version }} setup.py build_ext -i'
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools Cython Sphinx flake8
pip install setuptools 'Cython<3' Sphinx flake8
- name: Freeze pip
run: |
pip freeze
Expand Down Expand Up @@ -354,7 +354,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools Cython Sphinx flake8
pip install setuptools 'Cython<3' Sphinx flake8
- name: Freeze pip
run: |
pip freeze
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ['setuptools', 'Cython>=0.28, <3']
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,6 @@ def run(self):
long_description=README,
long_description_content_type='text/x-rst',
classifiers=classifiers,
install_requires=["Cython>=0.28"],
setup_requires=["Cython>=0.28"],

ext_modules=extensions,
packages=["cysignals"],
package_dir={"": "src"},
Expand Down

0 comments on commit 4b4d54a

Please sign in to comment.