forked from OpenGATE/opengate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (60 loc) · 1.67 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
import setuptools
from setuptools import find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
with open("VERSION", "r") as fh:
version = fh.read()
all_packages = find_packages()
selected_packages = []
for p in all_packages:
if "opengate_core" not in p:
selected_packages.append(p)
setuptools.setup(
name="opengate",
version=version,
author="Opengate collaboration",
author_email="david.sarrut@creatis.insa-lyon.fr",
description="Simulation for Medical Physics",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/OpenGATE/opengate",
packages=selected_packages,
python_requires=">=3.7",
include_package_data=True,
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
),
install_requires=[
"opengate_core==" + version,
"gatetools",
"tqdm",
"colored",
"click",
"python-box",
"anytree",
"numpy",
"itk",
"uproot",
"sphinx",
"scipy",
"sphinx_pdj_theme",
"matplotlib",
"myst-parser",
"GitPython",
"colorlog",
"sphinx_copybutton",
"autoapi",
"sphinx-autoapi",
],
scripts=[
"opengate/bin/opengate_tests",
"opengate/bin/opengate_tests_utils",
"opengate/bin/opengate_info",
"opengate/bin/opengate_user_info",
"opengate/bin/dose_rate",
"opengate/bin/split_spect_projections",
"opengate/bin/voxelize_iec_phantom",
],
)