You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build of fortran files is based on numpy.distutils and
numpy.distutils has been deprecated in NumPy 1.23.0. It will be removed for Python 3.12; for Python <= 3.11 it will not be removed until 2 years after the Python 3.12 release (Oct 2025).
Until a clean solution will be implemented, to use eastereig with python 3.12 (everything is fine for other version), you will need to edit the setup.py, to remove numpy.distutils calls
# -*- coding: utf-8 -*-importsetuptoolsimportoswithopen("README.md", "r") asfh:
long_description=fh.read()
def_getversion():
""" Get version from VERSION."""v=Nonewithopen(os.path.join('./eastereig', 'VERSION')) asf:
forlineinf:
ifline.startswith('version'):
v=line.replace("'", '').split()[-1].strip()
breakreturnvthis_version=_getversion()
print('version:', this_version)
setuptools.setup(
name="eastereig",
version=this_version,
author="B. Nennig, M. Ghienne",
author_email="[email protected], [email protected]",
description="A library to locate exceptional points and to reconstruct eigenvalues loci",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nennigb/EasterEig",
include_package_data=True,
# we can use find_packages() to automatically discover all subpackagespackages=setuptools.find_packages(),
install_requires=['numpy',
'scipy',
'matplotlib'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.5',
)
The text was updated successfully, but these errors were encountered:
The build of fortran files is based on
numpy.distutils
andUntil a clean solution will be implemented, to use
eastereig
with python 3.12 (everything is fine for other version), you will need to edit thesetup.py
, to removenumpy.distutils
callsThe text was updated successfully, but these errors were encountered: