-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathsetup.py
46 lines (40 loc) · 1.39 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
from setuptools import setup, find_packages
import sys, os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from omnipose.dependencies import install_deps, gui_deps, distributed_deps
with open('docs/requirements.txt') as f:
doc_deps = [line.strip() for line in f if line.strip() and not line.startswith('#') and '-e .' not in line]
with open("README.rst", "r") as fh:
long_description = fh.read()
setup(
name="omnipose",
use_scm_version=True,
author="Kevin Cutler",
author_email="[email protected]",
description="cell segmentation algorithm improving on the Cellpose framework",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/kevinjohncutler/omnipose",
# packages=find_packages(include=['omnipose', 'cellpose_omni']),
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires = install_deps,
extras_require = {
'gui': gui_deps,
'docs': doc_deps,
'all': doc_deps + gui_deps + distributed_deps,
},
tests_require=[
'pytest'
],
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
entry_points = {
'console_scripts': [
'omnipose = omnipose.__main__:main']
},
py_modules=['dependencies'],
)