-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
41 lines (36 loc) · 1.53 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
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_napari', '__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_napari'],
package_data={'': ['LICENSE', 'requirements.txt', 'README.md'],
'celldetection_napari': ['plugin.toml']},
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'],
entry_points={"napari.manifest": ["celldetection-napari = celldetection_napari:plugin.toml"]},
python_requires=">=3.8",
classifiers=[
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Framework :: napari',
]
)