-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
70 lines (63 loc) · 2.2 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import pathlib
from setuptools import find_packages, setup
_here = pathlib.Path(__file__).resolve().parent
_version_file = _here / 'VERSION'
with _version_file.open('r') as f:
_version = f.read().strip()
# this is a hack, but it works for now and keeps the version number in a single file
_libmuscle_version_file = _here / 'libmuscle' / 'python' / 'libmuscle' / 'version.py'
with _libmuscle_version_file.open('w') as f:
f.write('__version__ = \'{}\'\n'.format(_version))
_muscle3_packages = [
p for p in find_packages() + find_packages('libmuscle/python')
if p != 'integration_test']
_long_desc = (_here / 'README.rst').read_text()
setup(
name='muscle3',
version=_version,
description='Version 3 of the MUltiScale Coupling Library and Environment',
long_description=_long_desc,
long_description_content_type='text/x-rst',
author='Lourens Veen',
author_email='[email protected]',
url='https://github.com/multiscale/muscle3',
license='Apache License 2.0',
keywords=['multiscale', 'coupling', 'MUSCLE'],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
packages=_muscle3_packages,
package_dir={
'muscle3': 'muscle3',
'libmuscle': 'libmuscle/python/libmuscle'
},
include_package_data=True,
entry_points={
'console_scripts': [
'muscle_manager=muscle3.muscle_manager:manage_simulation',
'muscle3=muscle3.muscle3:muscle3']
},
python_requires='>=3.8, <4',
install_requires=[
'click>=7.1,<9',
'matplotlib>=3,<4',
'msgpack>=1,<2',
'psutil>=5.0.0',
"numpy>=1.22",
'qcg-pilotjob==0.13.1',
'typing_extensions>=4.4.0,<5',
'ymmsl>=0.13.0,<0.14' # Also in CI, update there as well
],
extras_require={
'dev': [
'tox'
]
},
)