-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
58 lines (52 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
from os import path
from setuptools import find_packages, setup
_dir = path.dirname(__file__)
with open(path.join(_dir, "stardist_napari", "_version.py"), encoding="utf-8") as f:
exec(f.read())
with open(path.join(_dir, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="stardist-napari",
version=__version__,
description="Object Detection with Star-convex Shapes",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/stardist/stardist",
project_urls={
"Source Code": "https://github.com/stardist/stardist-napari",
"Documentation": "https://github.com/stardist/stardist-napari",
"Bug Tracker": "https://github.com/stardist/stardist-napari/issues",
"User Support": "https://forum.image.sc/tag/stardist",
"Twitter": "https://twitter.com/martweig",
},
author="Uwe Schmidt, Martin Weigert",
author_email="research@uweschmidt.org, martin.weigert@epfl.ch",
license="BSD 3-Clause License",
packages=find_packages(),
python_requires=">=3.8",
package_data={"stardist_napari": ["resources/*", "napari.yaml"]},
entry_points={"napari.manifest": ["stardist-napari = stardist_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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: napari",
],
install_requires=[
"stardist>=0.8.3",
'tensorflow; platform_system!="Darwin" or platform_machine!="arm64"',
'tensorflow-macos; platform_system=="Darwin" and platform_machine=="arm64"',
'tensorflow-metal; platform_system=="Darwin" and platform_machine=="arm64"',
"napari>=0.4.13",
"magicgui>=0.4.0",
],
extras_require={
"test": ["pytest", "pytest-qt", "napari[pyqt]>=0.4.13"],
},
)