-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
60 lines (49 loc) · 1.59 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
###
# \file setup.py
#
# Install with symlink: 'pip install -e .'
# Changes to the source file will be immediately available to other users
# of the package
#
# \author Michael Ebner ([email protected])
# \date July 2017
#
import os
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
about = {}
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "pysitk", "__about__.py")) as fp:
exec(fp.read(), about)
def install_requires(fname="requirements.txt"):
with open(fname) as f:
content = f.readlines()
content = [x.strip() for x in content]
return content
setup(
long_description=long_description,
long_description_content_type="text/markdown",
name=about["__title__"],
version=about["__version__"],
description=about["__summary__"],
url=about["__uri__"],
author=about["__author__"],
author_email=about["__email__"],
license=about["__license__"],
packages=find_packages(),
install_requires=install_requires(),
zip_safe=False,
keywords='development ITK SimpleITK',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Healthcare Industry',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Build Tools',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)