forked from spacetx/starfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (28 loc) · 833 Bytes
/
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
#!/usr/bin/env python
from pathlib import Path
import setuptools
import versioneer
install_requires = [
line.rstrip() for line in open(Path(__file__).parent / "REQUIREMENTS.txt")
]
with open(Path("starfish") / "core" / "_display.py") as f:
for line in f.readlines():
if line.startswith("NAPARI_VERSION"):
napari_version = line.split('"')[1]
break
setuptools.setup(
packages=setuptools.find_packages(),
install_requires=install_requires,
extras_require={
'napari': [f"napari[all]>={napari_version}"],
},
entry_points={
'console_scripts': [
"starfish=starfish.core.starfish:starfish",
]
},
include_package_data=True,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
python_requires='>=3.7'
)