forked from scverse/scanpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (57 loc) · 2.06 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
import sys
if sys.version_info < (3,):
sys.exit('scanpy requires Python >= 3.5')
from pathlib import Path
from setuptools import setup, find_packages
import versioneer
try:
from scanpy import __author__, __email__
except ImportError: # Deps not yet installed
__author__ = __email__ = ''
setup(
name='scanpy',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Single-Cell Analysis in Python.',
long_description=Path('README.rst').read_text('utf-8'),
url='http://github.com/theislab/scanpy',
author=__author__,
author_email=__email__,
license='BSD',
python_requires='>=3.5',
install_requires=[
l.strip() for l in
Path('requirements.txt').read_text('utf-8').splitlines()
],
extras_require=dict(
louvain=['python-igraph', 'louvain>=0.6'],
leiden=['python-igraph', 'leidenalg'],
bbknn=['bbknn'],
doc=['sphinx', 'sphinx_rtd_theme', 'sphinx_autodoc_typehints', 'scanpydoc'],
test=['pytest>=3.9'],
),
packages=find_packages(),
# `package_data` does NOT work for source distributions!!!
# you also need MANIFTEST.in
# https://stackoverflow.com/questions/7522250/how-to-include-package-data-with-setuptools-distribute
package_data={'': '*.txt'},
include_package_data=True,
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',
],
)