1
# -*- coding: utf-8 -*-
2 0
import os
3 0
from pathlib import Path
4

5 0
from setuptools import setup, find_packages
6

7 0
try:
8 0
    from cellrank import __email__, __author__, __version__, __maintainer__
9 0
except ImportError:
10 0
    __author__ = "Marius Lange, Michal Klein, Juan Luis Restrepo Lopez"
11 0
    __maintainer__ = "Marius Lange, Michal Klein"
12 0
    __email__ = "info@cellrank.org"
13 0
    __version__ = "1.0.0"
14

15

16
if __name__ == "__main__":
17
    setup(
18
        name="cellrank",
19
        use_scm_version=True,
20
        setup_requires=["setuptools_scm"],
21
        author=__author__,
22
        author_email=__email__,
23
        email=__email__,
24
        maintainer=__maintainer__,
25
        maintainer_email=__email__,
26
        version=__version__,
27
        description=Path("README.rst").read_text("utf-8").split("\n")[3],
28
        long_description=Path("README.rst").read_text("utf-8"),
29
        url="https://github.com/theislab/cellrank",
30
        project_urls={
31
            "Documentation": "https://cellrank.readthedocs.io/en/latest",
32
            "Source Code": "https://github.com/theislab/cellrank",
33
        },
34
        download_url="https://github.com/theislab/cellrank",
35
        license="BSD",
36
        install_requires=list(
37
            map(
38
                str.strip,
39
                open(os.path.abspath("requirements.txt"), "r").read().splitlines(),
40
            )
41
        ),
42
        extras_require=dict(
43
            krylov=[
44
                "mpi4py>=3.0.3",
45
                "petsc>=3.13.0",
46
                "slepc>=3.13.0",
47
                "petsc4py>=3.13.0",
48
                "slepc4py>=3.13.0",
49
            ],
50
            test=[
51
                "pytest>=6.1.1",
52
                "pytest-mock>=3.1.0",
53
                "pytest-xdist>=2.1.0",
54
                "Pillow",
55
                "filelock",
56
                "mock>=4.0.2",
57
                "python-igraph",
58
                "louvain==0.6.1",
59
                "leidenalg==0.8.1",
60
                "bezier",  # curved edges for `cellrank.pl.graph`
61
            ],
62
            docs=[
63
                r
64
                for r in map(
65
                    str.strip,
66
                    open(os.path.abspath("docs/requirements.txt"), "r")
67
                    .read()
68
                    .splitlines(),
69
                )
70
                if "requirements.txt" not in r
71
            ],
72
            dev=["pre-commit>=2.7.1"],
73
        ),
74
        zip_safe=False,
75
        packages=find_packages(),
76
        python_required=">=3.6",
77
        platforms=["Linux", "MacOs", "Windows"],
78
        keywords=[
79
            "bio-informatics",
80
            "single-cell",
81
            "RNA velocity",
82
            "Markov chain",
83
            "GPCCA",
84
        ],
85
        classifiers=[
86
            "Development Status :: 4 - Beta",
87
            "Intended Audience :: Developers",
88
            "Intended Audience :: Science/Research",
89
            "Natural Language :: English",
90
            "Framework :: Jupyter",
91
            "Operating System :: MacOS :: MacOS X",
92
            "Operating System :: Microsoft :: Windows",
93
            "Operating System :: POSIX :: Linux",
94
            "Typing :: Typed",
95
            "Programming Language :: Python :: 3",
96
            "Programming Language :: Python :: 3.6",
97
            "Programming Language :: Python :: 3.7",
98
            "Programming Language :: Python :: 3.8",
99
            "Topic :: Scientific/Engineering :: Bio-Informatics",
100
            "Topic :: Scientific/Engineering :: Visualization",
101
        ],
102
    )

Read our documentation on viewing source code .

Loading