forked from MECLabTUDA/M3d-Cam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (58 loc) · 1.72 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
from setuptools.command.install import install
class MyInstall(install):
def run(self):
import subprocess, sys
subprocess.call([sys.executable, "-m", "pip", "install", "opencv-python"])
install.run(self)
setuptools.setup(
name="medcam",
version="0.1.21",
author="Karol Gotkowski",
author_email="KarolGotkowski@gmx.de",
description="An easy to use library that makes model predictions more interpretable for humans.",
long_description="An easy to use library that makes model predictions more interpretable for humans. M3d-CAM allows the generation of attention maps with multiple methods like Guided Backpropagation, Grad-Cam, Guided Grad-Cam and Grad-Cam++.",
long_description_content_type="text/markdown",
url="",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'certifi',
'cycler',
'decorator',
'future',
'imageio',
'kiwisolver',
'Mako',
'Markdown',
'MarkupSafe',
'matplotlib',
'networkx',
'nibabel',
'numpy',
'packaging',
'pandas',
'Pillow',
'pyparsing',
'python-dateutil',
'pytz',
'PyWavelets',
'scikit-image',
'scipy',
'SimpleITK',
'six',
],
# extras_require={
# 'extras': PostInstallExtrasInstaller.extras_install_by_default,
# },
cmdclass={
'install': MyInstall,
},
)