-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Python 3.13 and numpy 2 (#27)
* Compile as c11 instead of c99 for cpython3.13 header compatibility * Use numpy2 on python >= 3.9
- Loading branch information
1 parent
37b4e3d
commit f40f713
Showing
4 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
from setuptools import setup | ||
from setuptools.extension import Extension | ||
|
||
|
||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Programming Language :: Python :: 3", | ||
|
@@ -33,7 +32,7 @@ | |
source_files, | ||
include_dirs=include_dirs, | ||
depends=depends_files, | ||
extra_compile_args=["-std=c99"], | ||
extra_compile_args=["-std=c11"], | ||
) | ||
] | ||
|
||
|
@@ -49,5 +48,5 @@ | |
author_email="[email protected]", | ||
ext_modules=extensions, | ||
install_requires=["numpy>=1.13.3"], | ||
python_requires=">=3.5", | ||
python_requires=">=3.6", | ||
) |