-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathsetup.py
executable file
·49 lines (44 loc) · 1.34 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
import setuptools
import os, json
from os.path import expanduser
home = expanduser("~")
config = {
'DBS_ANTS': False,
}
os.makedirs(os.path.join(home, ".DeepBrainSeg"), exist_ok=True)
with open(os.path.join(home, ".DeepBrainSeg/config.json"), "w") as write_file:
json.dump(config, write_file)
with open("./README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='DeepBrainSeg',
version='0.2.1',
author="Avinash Kori",
author_email="[email protected]",
description="Deep Learning tool for brain tumor segmentation.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/koriavinash1/DeepBrainSeg",
packages=setuptools.find_packages(),
install_requires = [
'torch==1.5.1',
'torchvision==0.6.1',
'torchnet==0.0.4',
'nibabel==3.0.2',
'SimpleITK==1.2.4',
'tqdm==4.48.2',
'numpy==1.18.5',
'pandas==0.25.3',
'scipy==1.4.1',
'pydensecrf==1.0rc3',
'pyradiomics==3.0',
'scikit-image==0.15',
'dicom2nifti==2.2.10',
'wget',
],
classifiers=[
"Programming Language :: Python :: 3.5",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)