-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
58 lines (54 loc) · 1.83 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
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
with open("nsvision/__init__.py", encoding="utf-8") as fid:
for line in fid:
if line.startswith("__version__"):
__version__ = line.strip().split()[-1][1:-1]
break
CONSOLE_SCRIPTS = [
"split_data = nsvision.tools.split_data:main",
"split_data_gui = nsvision.tools.split_data_gui:main",
"rename_files = nsvision.tools.rename_files:main",
"tumor_data_extractor = nsvision.tools.tumor_data_extractor:main",
]
setup(
name="nsvision",
version=__version__,
python_requires=">=3.6",
description="nsvision - Image data processing library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nsembleai/nsvision",
author="Nsemble.ai",
author_email="[email protected]",
license="MIT",
packages=find_packages(),
install_requires=["numpy", "pillow"],
extras_require={
"tests": [
"natsort",
"pillow",
"pytest",
"pytest-xdist", # for parallel testing
"pytest-cov", # for testing coverage
"requests",
],
"pep8": ["flake8"],
"video": ["opencv-python"],
},
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
"console_scripts": CONSOLE_SCRIPTS,
},
)