andreped commited on
Commit
47dd310
1 Parent(s): bb647c1

refactored setup.py [no ci]

Browse files
Files changed (1) hide show
  1. setup.py +24 -26
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
- name='livermask',
15
- version='1.3.3',
16
- author="André Pedersen",
17
- author_email="andrped94@gmail.com",
18
- license='MIT',
19
- description="A package for automatic segmentation of liver from CT data",
20
- long_description=long_description,
21
- long_description_content_type="text/markdown",
22
- url="https://github.com/andreped/livermask",
23
- include_package_data=True,
24
- packages=find_packages(
25
  include=[
26
- 'livermask',
27
  'livermask.utils',
28
  'livermask.configs',
29
  ]
30
  ),
31
- entry_points={
32
  'console_scripts': [
33
  'livermask = livermask.livermask:main',
34
  ]
35
- },
36
- install_requires=required,
37
- classifiers=[
38
- "Programming Language :: Python :: 3.6",
39
- "Programming Language :: Python :: 3.7",
40
- "Programming Language :: Python :: 3.8",
41
- "License :: OSI Approved :: MIT License",
42
- "Operating System :: OS Independent",
43
- ],
44
- python_requires='>=3.6',
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="andrped94@gmail.com",
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
+ )