-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
45 lines (40 loc) · 1.77 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
from setuptools import setup
from os.path import join, dirname, abspath
def read_utf8(*args):
with open(join(*args), encoding="utf-8") as f:
return f.read()
directory, m = dirname(abspath(__file__)), {}
exec(read_utf8(directory, 'celldetection', '__meta__.py'), m)
requirements = read_utf8(directory, 'requirements.txt').strip().split("\n")
long_description = read_utf8(directory, 'README.md')
setup(
author=m['__author__'],
author_email=m['__email__'],
name=m['__title__'],
version=m['__version__'],
description=m['__summary__'],
long_description=long_description,
long_description_content_type='text/markdown',
url=m['__url__'],
packages=['celldetection', 'celldetection.data', 'celldetection.callbacks', 'celldetection.optim',
'celldetection.data.datasets', 'celldetection.models', 'celldetection.mpi', 'celldetection.ops',
'celldetection.util', 'celldetection.visualization', 'celldetection_scripts'],
package_data={'': ['LICENSE', 'requirements.txt', 'README.md']},
include_package_data=True,
install_requires=requirements,
license=m['__license__'],
keywords=['cell', 'detection', 'object', 'segmentation', 'pytorch', 'cpn', 'contour', 'proposal', 'network', 'deep',
'learning', 'unet', 'fzj', 'julich', 'juelich', 'ai'],
classifiers=[
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent'
],
entry_points={
'console_scripts': [
'cd-inference-cpn=celldetection_scripts.cpn_inference:main',
# 'cd-train=celldetection_scripts.train:main'
]
}
)