Skip to content

Commit

Permalink
hmmm, remove all the scipy stuff and try this
Browse files Browse the repository at this point in the history
  • Loading branch information
kodonnell committed Mar 17, 2023
1 parent 7bdb60e commit c38d6c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
13 changes: 2 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,8 @@ requires = [
"setuptools >= 45",
"wheel >= 0.30.0",
"setuptools_scm >= 6.2",
# Copied from https://github.com/scipy/scipy/blob/1a72584820e53d83d5f6daab6c7fbafbe9af50d7/pyproject.toml
# NOTE: if you update this, you'll need to update install_requires in setup.py
"Cython>=0.29.33",
"numpy==1.22.0; platform_machine=='loongarch64'",
"numpy==1.22.3; python_version=='3.9' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
"numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
"numpy==1.21.6; python_version=='3.9' and (platform_system!='Windows' and platform_machine!='loongarch64') and platform_python_implementation != 'PyPy'",
"numpy==1.21.6; python_version=='3.10' and (platform_system!='Windows' and platform_machine!='loongarch64') and platform_python_implementation != 'PyPy'",
"numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
"numpy; python_version>='3.12'",
"numpy; python_version>='3.9' and platform_python_implementation=='PyPy'",
"numpy>=1.21.6;",
]
build-backend = "setuptools.build_meta"

Expand All @@ -24,7 +15,7 @@ write_to_template = "__version__ = \"{version}\""
[tool.cibuildwheel]
test-requires = "pytest"
test-command = "pytest {project}/tests"
build = "cp38-* cp39-* cp310-*"
build = "cp37-* cp38-* cp39-* cp310-* cp311-*"
# skip musl and ignore the non-standard linux builds
skip = "*-musllinux_* *s390x* *ppc64le*"
build-frontend = "build"
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# https://github.com/scipy/scipy/blob/1a72584820e53d83d5f6daab6c7fbafbe9af50d7/setup.py#L452
numpy>=1.21.6
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ classifiers =
Operating System :: OS Independent
Topic :: Scientific/Engineering :: Image Processing
packages = qoi
python_requires = >=3.6
python_requires = >=3.9
license = MIT
keywords = qoi

[options]
zip_safe = False
python_requires = >=3.6
python_requires = >=3.9
package_dir = =src
packages = find:

Expand Down

0 comments on commit c38d6c3

Please sign in to comment.