-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from PrincetonUniversity/numpy2_fix
forcing this merge as the current state fails in the simsopt docker container build (py_spec.math not added in install)
- Loading branch information
Showing
7 changed files
with
44 additions
and
31 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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
||
[project] | ||
name="py_spec" | ||
version="3.3.5" | ||
dependencies = ["numpy>=1.21.1", | ||
"f90nml", | ||
"h5py", | ||
"matplotlib", | ||
"coilpy; python_version<'3.12'", | ||
"scipy>=1.7.0"] | ||
description="SPEC(Stepped-Pressure Equilibrium Code) python utilities" | ||
readme="README.md" | ||
authors = [ | ||
{ name = "Christopher Berg Smiet", email = "[email protected]" }, | ||
{ name = "Caoxiang Zhu", email = "[email protected]" }, | ||
{ name = "SPEC developers"} | ||
] | ||
maintainers = [ | ||
{ name = "Christopher Berg Smiet", email = "[email protected]" }, | ||
] | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
license = {text = "GNU 3.0"} |
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 |
---|---|---|
@@ -1,26 +1,6 @@ | ||
import setuptools | ||
from py_spec import __version__ | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="py_spec", | ||
version=__version__, | ||
setup_requires=["numpy>=2.0.0; python_version > '3.8'", | ||
"oldest-supported-numpy; python_version <= '3.8'"], | ||
install_requires=["numpy>=1.21.1"], | ||
description="SPEC(Stepped-Pressure Equilibrium Code) python utilities", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering", | ||
], | ||
url="https://princetonuniversity.github.io/SPEC/", | ||
author="SPEC developers", | ||
license="GNU 3.0", | ||
packages=['py_spec', 'py_spec.input', 'py_spec.output', 'py_spec.ci'] | ||
packages=['py_spec', 'py_spec.input', 'py_spec.output', 'py_spec.ci', 'py_spec.math'] | ||
) |