forked from ukaea/PROCESS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (54 loc) · 1.62 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
from setuptools import setup, find_packages
import site
import os
import platform
MODULE_NAME = "process"
_install_loc = os.path.join(site.getsitepackages()[0], MODULE_NAME)
EXTRA_ARGS = []
if platform.system() == "Darwin":
EXTRA_ARGS = ["-Wl,-rpath," + os.path.join(_install_loc, "lib")]
setup_kwargs = {
"name": MODULE_NAME,
"version": "3.1.0",
"description": (
"Power Reactor Optimisation Code for Environmental and Safety Studies"
),
"url": "https://ccfe.ukaea.uk/resources/process/",
"author": "UKAEA",
"packages": find_packages(),
"package_dir": {"process": "process"},
"package_data": {
"process": [
"lib/lib*",
"fortran*.so",
"data/lz_non_corona_14_elements/*",
"utilities/*",
],
"process.io": ["python_fortran_dicts.json"],
"process.data.impuritydata": ["*"],
"process.uncertainties": ["*.json"],
},
"test_suite": "pytest",
"python_requires": ">=3.10",
"install_requires": [
"numpy>=1.23,<2",
"scipy>=1.10",
"cvxpy!=1.3.0,!=1.3.1",
"pandas>=2.0",
"tables",
"SALib",
"numba>=0.57",
"PyVMCON>=2.2.2,<3.0.0",
"CoolProp>=6.4",
"matplotlib>=2.1.1",
"seaborn>=0.12.2",
],
"extras_require": {
"test": ["pytest>=5.4.1", "requests>=2.30", "testbook>=0.4"],
"examples": ["pillow>=5.1.0", "jupyter==1.0.0", "pdf2image==1.16.0"],
},
"entry_points": {"console_scripts": ["process=process.main:main"]},
"extra_link_args": EXTRA_ARGS,
}
if __name__ == "__main__":
setup(**setup_kwargs)