forked from CellProfiling/HPA-Cell-Segmentation
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
43 lines (40 loc) · 1.43 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
"""Set up file for HPA-Cell-Segmentation package."""
from pathlib import Path
from setuptools import find_packages, setup
PROJECT_DIR = Path(__file__).parent.resolve()
README_FILE = PROJECT_DIR / "README.org"
LONG_DESCR = README_FILE.read_text(encoding="utf-8")
VERSION = (PROJECT_DIR / "hpacellseg" / "VERSION").read_text().strip()
requirements = []
try:
with open("requirements.txt", "r") as fd:
requirements = [l.strip() for l in fd.readlines()]
except FileNotFoundError:
print("WARNING: missing requirements.txt.")
setup(
name="hpacellseg",
version=VERSION,
description="HPA Cell Segmentation",
long_description=LONG_DESCR,
long_description_content_type="text/markdown",
author="Hao Xu",
author_email="hao.xu@scilifelab.se",
license="Apache-2.0",
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
python_requires=">=3.6",
dependency_links=[],
install_requires=requirements,
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
],
)