Skip to content

Commit

Permalink
refactored setup.py [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Oct 27, 2022
1 parent e613569 commit cc8381b
Showing 1 changed file with 24 additions and 26 deletions.
50 changes: 24 additions & 26 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,42 @@
from setuptools.command.install import install
import os


with open("README.md", "r", errors='ignore') as f:
long_description = f.read()

with open('requirements.txt', 'r', encoding='utf-16', errors='ignore') as ff:
required = ff.read().splitlines()


setup(
name='livermask',
version='1.3.3',
author="André Pedersen",
author_email="[email protected]",
license='MIT',
description="A package for automatic segmentation of liver from CT data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/andreped/livermask",
include_package_data=True,
packages=find_packages(
name='livermask',
version='1.3.3',
author="André Pedersen",
author_email="[email protected]",
license='MIT',
description="A package for automatic segmentation of liver from CT data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/andreped/livermask",
include_package_data=True,
packages=find_packages(
include=[
'livermask',
'livermask',
'livermask.utils',
'livermask.configs',
]
),
entry_points={
entry_points={
'console_scripts': [
'livermask = livermask.livermask:main',
]
},
install_requires=required,
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)
},
install_requires=required,
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
)

0 comments on commit cc8381b

Please sign in to comment.