Skip to content

Commit

Permalink
force numpy version
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebenelli committed Oct 10, 2022
1 parent 14c36c0 commit ee32b72
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[tool.black]
line-length = 79
target-version = ['py39']
target-version = ['py310']

[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools==58.4.0", "numpy==1.21.2", "wheel"]
requires = [
"setuptools==58",
"numpy>=1.21",
"wheel"
]
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# -> REQUIREMENTS -------------------------------------------------------------

REQUIREMENTS = ["numpy>=1.21.2", "pandas>=1.3.5", "scipy>=1.7.3"]
REQUIREMENTS = ["numpy>=1.21", "pandas>=1.3.5", "scipy>=1.7.3"]

# -----------------------------------------------------------------------------

Expand Down Expand Up @@ -83,12 +83,12 @@
sources=[
os.path.join(FORTRAN_DIR, "cubic", "MulticompSRK_PR.f90"),
os.path.join(FORTRAN_DIR, "cubic", "ThermoRoutines_RKPR.f90"),
os.path.join(FORTRAN_DIR, "cubic", "cubic.f90")
os.path.join(FORTRAN_DIR, "cubic", "cubic.f90"),
],
extra_f90_compile_args=None, # ['-g', '-O0', '-fbacktrace', '-fcheck=all'],
f2py_options=["--debug-capi"],
extra_link_args=extra_link_args
),
extra_f90_compile_args=["-g", "-O0", "-fbacktrace", "-fcheck=all"],
# f2py_options=["--debug-capi"],
extra_link_args=extra_link_args,
),
]

# -----------------------------------------------------------------------------
Expand Down

0 comments on commit ee32b72

Please # to comment.