-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
41 lines (36 loc) · 1.17 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
import setuptools
reqs = ['pandas',
'numpy',
'coverage',
'matplotlib',
'parameterized',
'tqdm',
'medutils',
'PySimpleGUI',
'SimpleITK',
]
# def parse_requirements(requirements):
# with open(requirements) as f:
# return [l.strip('\n') for l in f if l.strip('\n') and not l.startswith('#')]
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
# reqs = parse_requirements('requirements.txt')
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
setuptools.setup(
name="seg_metrics", # Replace with your own username
version="1.2.8",
author="Jingnan Jia",
author_email="[email protected]",
description="A package to compute different segmentation metrics for 2D/3D medical images.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Ordgod/segmentation_metrics",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=reqs)