-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
61 lines (53 loc) · 1.74 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
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
with open("README.md") as readme_file:
readme = readme_file.read()
# read version.py
import sys, re
try:
filepath = "FigureGenerator/version.py"
version_file = open(filepath)
(__version__,) = re.findall('__version__ = "(.*)"', version_file.read())
except Exception as error:
__version__ = "0.0.1"
sys.stderr.write("Warning: Could not open '%s' due %s\n" % (filepath, error))
requirements = [
"numpy>=1.19.2",
"SimpleITK!=2.0.*",
"SimpleITK!=2.2.1", # https://github.com/mlcommons/GaNDLF/issues/536
"pytest",
"coverage",
"psutil",
"black",
"matplotlib",
"requests",
]
setup(
name="FigureGenerator",
version=__version__,
author="Sarthak Pati", # alphabetical order
author_email="[email protected]",
python_requires=">=3.6",
packages=find_packages(),
scripts=["figure_generator"],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
description=("Making screenshots for presentations and manuscripts."),
install_requires=requirements,
license="BSD-3-Clause License",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="medical-imaging, screenshot, figure-generator, publication",
zip_safe=False,
url="https://github.com/CBICA/FigureGenerator",
)