forked from scverse/scanpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (73 loc) · 2.51 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
import sys
if sys.version_info < (3, 6):
sys.exit('scanpy requires Python >= 3.6')
from pathlib import Path
from setuptools import setup, find_packages
try:
import pytoml
except ImportError:
sys.exit('Please use `pip install .` or install pytoml first.')
proj = pytoml.loads(Path('pyproject.toml').read_text())
metadata = proj['tool']['scanpy']
setup(
name='scanpy',
use_scm_version=True,
setup_requires=['setuptools_scm'],
description='Single-Cell Analysis in Python.',
long_description=Path('README.rst').read_text('utf-8'),
url='http://github.com/theislab/scanpy',
author=metadata['author'],
author_email=metadata['author-email'],
license='BSD',
python_requires='>=3.6',
install_requires=[
l.strip() for l in Path('requirements.txt').read_text('utf-8').splitlines()
],
extras_require=dict(
louvain=['python-igraph', 'louvain>=0.6,!=0.6.2'],
leiden=['python-igraph', 'leidenalg'],
bbknn=['bbknn'],
scvi=['scvi>=0.6.5'],
rapids=['cudf>=0.9', 'cuml>=0.9', 'cugraph>=0.9'],
magic=['magic-impute>=2.0'],
skmisc=['scikit-misc>=0.1.3'],
harmony=['harmonypy'],
dev=['setuptools_scm', 'pytoml', 'black>=20.8b1'],
doc=[
'sphinx>=3.2',
'sphinx_rtd_theme>=0.3.1',
'sphinx_autodoc_typehints',
'scanpydoc>=0.5',
'typing_extensions; python_version < "3.8"', # for `Literal`
],
test=[
'pytest>=4.4',
'dask[array]!=2.17.0',
'fsspec',
'zappy',
'zarr',
'profimp',
],
),
packages=find_packages(),
include_package_data=True,
entry_points=dict(console_scripts=['scanpy=scanpy.cli:console_main']),
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Framework :: Jupyter',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Visualization',
],
)