refactored setup.py [no ci]
Browse files
setup.py
CHANGED
@@ -2,44 +2,42 @@ from setuptools import setup, find_packages
|
|
2 |
from setuptools.command.install import install
|
3 |
import os
|
4 |
|
5 |
-
|
6 |
with open("README.md", "r", errors='ignore') as f:
|
7 |
long_description = f.read()
|
8 |
|
9 |
with open('requirements.txt', 'r', encoding='utf-16', errors='ignore') as ff:
|
10 |
required = ff.read().splitlines()
|
11 |
|
12 |
-
|
13 |
setup(
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
include=[
|
26 |
-
'livermask',
|
27 |
'livermask.utils',
|
28 |
'livermask.configs',
|
29 |
]
|
30 |
),
|
31 |
-
|
32 |
'console_scripts': [
|
33 |
'livermask = livermask.livermask:main',
|
34 |
]
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
2 |
from setuptools.command.install import install
|
3 |
import os
|
4 |
|
|
|
5 |
with open("README.md", "r", errors='ignore') as f:
|
6 |
long_description = f.read()
|
7 |
|
8 |
with open('requirements.txt', 'r', encoding='utf-16', errors='ignore') as ff:
|
9 |
required = ff.read().splitlines()
|
10 |
|
|
|
11 |
setup(
|
12 |
+
name='livermask',
|
13 |
+
version='1.3.3',
|
14 |
+
author="André Pedersen",
|
15 |
+
author_email="[email protected]",
|
16 |
+
license='MIT',
|
17 |
+
description="A package for automatic segmentation of liver from CT data",
|
18 |
+
long_description=long_description,
|
19 |
+
long_description_content_type="text/markdown",
|
20 |
+
url="https://github.com/andreped/livermask",
|
21 |
+
include_package_data=True,
|
22 |
+
packages=find_packages(
|
23 |
include=[
|
24 |
+
'livermask',
|
25 |
'livermask.utils',
|
26 |
'livermask.configs',
|
27 |
]
|
28 |
),
|
29 |
+
entry_points={
|
30 |
'console_scripts': [
|
31 |
'livermask = livermask.livermask:main',
|
32 |
]
|
33 |
+
},
|
34 |
+
install_requires=required,
|
35 |
+
classifiers=[
|
36 |
+
"Programming Language :: Python :: 3.6",
|
37 |
+
"Programming Language :: Python :: 3.7",
|
38 |
+
"Programming Language :: Python :: 3.8",
|
39 |
+
"License :: OSI Approved :: MIT License",
|
40 |
+
"Operating System :: OS Independent",
|
41 |
+
],
|
42 |
+
python_requires='>=3.6',
|
43 |
+
)
|