-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
68 lines (53 loc) · 2.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from setuptools import setup, find_packages
from os import path
_dir = path.dirname(__file__)
with open(path.join(_dir,'src/vollseg_napari','_version.py'), encoding="utf-8") as f:
exec(f.read())
print(exec(f.read()))
with open(path.join(_dir,'README.md'), encoding="utf-8") as f:
long_description = f.read()
setup(
name='vollseg-napari',
version= __version__,
description='Irregular cell shape segmentation using VollSeg',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/kapoorlab/vollseg-napari',
project_urls={
'Source Code': 'https://github.com/kapoorlab/vollseg-napari',
'Documentation': 'https://github.com/kapoorlab/vollseg-napari',
'Bug Tracker': 'https://github.com/kapoorlab/vollseg-napari/issues',
'User Support': 'https://forum.image.sc/tag/vollseg-napari',
'Twitter': 'https://twitter.com/entracod',
},
author='Varun Kapoor',
author_email='varun.kapoor@kapoorlabs.org',
license='BSD 3-Clause License',
packages=find_packages(),
python_requires='>=3.7',
package_data={'vollseg_napari': [ 'resources/*', 'napari.yaml' ]},
entry_points={'napari.manifest': ['vollseg-napari = vollseg_napari:napari.yaml']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Framework :: napari',
],
install_requires=[
"vollseg",
'tensorflow; platform_system!="Darwin" or platform_machine!="arm64"',
'tensorflow-macos; platform_system=="Darwin" and platform_machine=="arm64"',
"napari>=0.4.13",
"magicgui>=0.4.0",
"pyqt6",
"pynvml"
],
extras_require={
"test": ["pytest", "pytest-qt", "napari[pyqt]>=0.4.13"],
},
)