Skip to content

Commit 7c8b1af

Browse files
committed
Add environment variables to control Cython extension compilation.
PYGSTI_CYTHON_SKIP being defined will fully skip extension compilation. PYGSTI_CYTHON_EXCLUDE_FAILURES will run cythonize with exclude_failures=True. Also removes the unneeded setup.cfg, and applies PYGSTI_CYTHON_SKIP to the "No Cython" GitHub Actions.
1 parent bc180a8 commit 7c8b1af

File tree

5 files changed

+218
-229
lines changed

5 files changed

+218
-229
lines changed

Diff for: .github/workflows/reuseable-main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install package (No Cython)
7070
if: ${{ inputs.use-cython != 'true' }}
7171
run: |
72-
python -m pip install -e .[testing_no_cython]
72+
PYGSTI_CYTHON_SKIP=1 python -m pip install -e .[testing_no_cython]
7373
- name: Lint with flake8 (Linux only)
7474
if: ${{ inputs.os == 'ubuntu-latest'}}
7575
run: |

Diff for: MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
include README.md CONTRIBUTING.md LICENSE
22
include pyproject.toml
3-
include install_locally.py
43
include requirements.txt
54
include optional-requirements.txt
65
include jupyter_notebooks/START_HERE.ipynb

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ keywords=[
4141
classifiers=[
4242
"Development Status :: 4 - Beta",
4343
"Intended Audience :: Science/Research",
44-
"License :: OSI Approved :: Apache Software License",
4544
"Programming Language :: Python",
4645
"Topic :: Scientific/Engineering :: Physics",
4746
"Operating System :: Microsoft :: Windows",
4847
"Operating System :: MacOS :: MacOS X",
4948
"Operating System :: Unix"
5049
]
50+
license = "Apache-2.0"
5151

5252
[project.optional-dependencies]
5353
diamond_norm = [

Diff for: setup.cfg

-12
This file was deleted.

0 commit comments

Comments
 (0)