-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
62 lines (56 loc) · 1.96 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
from setuptools import find_packages, setup
from setuptools.extension import Extension
with open("README.md", "r") as fh:
long_description = fh.read()
REQUIRED_PACKAGES = ['matplotlib',
'graphviz',
'tensorflow',
'scikit-learn',
'tifffile',
'pillow',
'scipy',
'numpy',
'opencv-python>=3.3.0',
'torch',
'torchvision',
'cython',
'psutil'
]
extensions = [
Extension(
'pytorch_unet.optimize.c_extensions',
['pytorch_unet/optimize/c_extensions.pyx']
),
]
setup(
name="radnet",
version="0.1.0",
author="Mukesh Mithrakumar",
author_email="[email protected]",
description="PyTorch implementation of U-Net for biomedical image segmentation",
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT License',
url="https://github.com/mukeshmithrakumar/",
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=REQUIRED_PACKAGES,
classifiers=(
"Development Status :: 0.1.0.dev1",
"Intended Audience :: Developers",
'Intended Audience :: Science/Research',
"Intended Audience :: Healthcare Industry",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
),
entry_points={
'console_scripts': [
'radnet-train = pytorch_unet.trainer.train:main',
'radnet-evaluate = pytorch_unet.trainer.evaluate:main',
'radnet-interpret = pytorch_unet.trainer.interpret:main',
]
},
python_requires='>=3',
ext_modules = extensions,
setup_requires = ["cython>=0.28", "numpy>=1.14.0"]
)