-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating docs and various READMEs; Various cleanup
- Loading branch information
1 parent
f63052e
commit 3b5ca2a
Showing
8 changed files
with
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[options] | ||
setup_requires = | ||
setuptools | ||
numpy >= 1.17 | ||
numpy >= 1.26.3 | ||
cython >= 3.0.7 | ||
|
||
install_requires = | ||
python >= 3.11 | ||
numpy >= 1.17 | ||
scipy >= 1.3 | ||
numpy >= 1.26.3 | ||
scipy >= 1.11.4 | ||
cython >= 3.0.7 | ||
nose >= 1.3.7 | ||
matplotlib > 3 |
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 |
---|---|---|
|
@@ -77,18 +77,18 @@ def remove_prefix(name, prefix): | |
import numpy.distutils as nd | ||
|
||
try: | ||
# from Cython.Distutils import build_ext ## TODO: obsolete? | ||
from Cython.Distutils import build_ext | ||
from Cython.Build import cythonize | ||
except ImportError: | ||
msg="Please upgrade to a newer Cython version, >= 0.18." | ||
msg="Please upgrade to a newer Cython version, >= 3" | ||
logging.error(msg) | ||
raise Exception(msg) | ||
|
||
#Verify Cython version | ||
import Cython | ||
cython_version = Cython.__version__.split(".") | ||
if not (cython_version[0] > '0' or (cython_version[0] == '0' and cython_version[1] >= '18')): | ||
msg="Please upgrade to a newer Cython version, >= 0.18." | ||
if not cython_version[0] >= '3': | ||
msg="Please upgrade to a newer Cython version, >= 3" | ||
logging.error(msg) | ||
raise Exception(msg) | ||
|
||
|
@@ -661,14 +661,6 @@ def fortran_extensionlists(self): | |
change_dir = False | ||
|
||
ext_list = prepare.cython_extensionlists() | ||
|
||
#MAJOR HACK DUE TO NUMPY CHANGE IN VERSION 1.6.2 THAT DOES NOT SEEM TO | ||
#HANDLE EXTENSIONS OF BOTH TYPE (DISTUTILS AND NUMPY DISTUTILS) AT THE | ||
#SAME TIME. | ||
for e in ext_list: | ||
e.extra_f77_compile_args = [] | ||
e.extra_f90_compile_args = [] | ||
|
||
ext_list += prepare.fortran_extensionlists() | ||
|
||
# distutils part | ||
|
@@ -677,7 +669,7 @@ def fortran_extensionlists(self): | |
NAME = "Assimulo" | ||
AUTHOR = u"C. Winther (Andersson), C. Führer, J. Åkesson, M. Gäfvert" | ||
AUTHOR_EMAIL = "[email protected]" | ||
VERSION = "trunk" if version_number_arg == "Default" else version_number_arg | ||
VERSION = "3.5.0" if version_number_arg == "Default" else version_number_arg | ||
LICENSE = "LGPL" | ||
URL = "http://www.jmodelica.org/assimulo" | ||
DOWNLOAD_URL = "http://www.jmodelica.org/assimulo" | ||
|
@@ -709,7 +701,7 @@ def fortran_extensionlists(self): | |
http://www.jmodelica.org/assimulo . | ||
The package requires Numpy, Scipy and Matplotlib and additionally for | ||
compiling from source, Cython 0.18, Sundials 2.6/2.7/3.1/4.1, BLAS and LAPACK | ||
compiling from source, Cython >=3, Sundials 2.6/2.7/3.1/4.1, BLAS and LAPACK | ||
together with a C-compiler and a FORTRAN-compiler. | ||
""" | ||
|
||
|
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