-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
79 lines (76 loc) · 2.57 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
69
70
71
72
73
74
75
76
77
78
79
from pathlib import Path
from setuptools import setup, find_packages
try:
from campa import __email__, __author__, __version__, __maintainer__
except ImportError:
__author__ = __maintainer__ = "Hannah Spitzer, Scott Berry"
__email__ = ", ".join(["hannah.spitzer@helmholtz-muenchen.de", "scott.berry@unsw.edu.au"])
__version__ = "1.0.0"
setup(
name="campa",
use_scm_version=True,
setup_requires=["setuptools_scm"],
version=__version__,
author=__author__,
author_email=__email__,
maintainer=__author__,
maintainer_email=__email__,
description=Path("README_pypi.rst").read_text("utf-8").splitlines()[2],
long_description=Path("README_pypi.rst").read_text("utf-8"),
long_description_content_type="text/x-rst; charset=UTF-8",
url="https://github.com/theislab/campa",
download_url="https://pypi.org/project/campa/",
project_urls={
"Documentation": "https://campa.readthedocs.io/en/stable",
"Source Code": "https://github.com/theislab/campa",
},
zip_safe=False,
license="BSD",
platforms=["Linux", "MacOSX"],
packages=find_packages(),
package_dir={"campa": "campa"},
include_package_data=True,
extras_require=dict(
dev=["pre-commit>=2.9.0"],
test=[
"tox>=3.20.1",
"pytest",
"pytest-cov",
"pytest-dependency",
],
docs=[
l.strip()
for l in (Path("docs") / "requirements.txt").read_text("utf-8").splitlines()
if not l.startswith("-r")
],
),
install_requires=[line.strip() for line in Path("requirements.txt").read_text("utf-8").splitlines()],
entry_points={
"console_scripts": ["campa=campa.cli.main:CAMPA"],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Typing :: Typed",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Environment :: Console",
"Framework :: Jupyter",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
keywords=sorted(
[
"single-cell",
"bio-informatics",
"multiplexed imaging",
"subcellular landmarks",
"image analysis",
"spatial data analysis",
]
),
)