Skip to content

Commit

Permalink
Install setuptools for Python 3.12 and newer so distutils is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
d-cogswell committed Aug 28, 2024
1 parent fa3d541 commit 5bcc75d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'mpet.electrolyte','mpet.config'
],
install_requires=['numpy','scipy','matplotlib','pyQt5', 'h5py', 'configparser', 'schema',
'setuptools; python_version >= "3.12"',
'daetools @ https://sourceforge.net/projects/daetools/files/daetools/2.3.0/daetools-2.3.0-gnu_linux-x86_64.zip ; python_version >= "3.10" and python_version <= "3.12" and sys_platform == "linux"',
'daetools @ https://sourceforge.net/projects/daetools/files/daetools/2.3.0/daetools-2.3.0-win64.zip ; python_version >= "3.10" and python_version <= "3.12" and sys_platform == "win32"',
'daetools @ https://sourceforge.net/projects/daetools/files/Old-releases/daetools-old/1.9.0/daetools-1.9.0-gnu_linux-x86_64.tar.gz ; python_version >= "3.5" and python_version <= "3.7" and sys_platform == "linux"',
Expand Down

0 comments on commit 5bcc75d

Please sign in to comment.