-
Notifications
You must be signed in to change notification settings - Fork 51
/
setup.py
65 lines (60 loc) · 1.94 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
from pathlib import Path
import os
from setuptools import setup, find_packages
long_description = Path('README.rst').read_text('utf-8')
try:
from scarches import __author__, __email__, __version__
except ImportError: # Deps not yet installed
__author__ = __email__ = ''
__version__ = '0.6.1'
# otherwise readthedocs fails
# because somewhere in the dependency tree there is the sklearn deprecated package
os.environ["SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL"] = "True"
setup(name='scArches',
version=__version__,
description='Transfer learning with Architecture Surgery on Single-cell data',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/theislab/scarches',
author=__author__,
author_email=__email__,
license='MIT',
packages=find_packages(),
zip_safe=False,
install_requires=[
"scanpy>=1.6.0",
"anndata>=0.7.4",
"scHPL>=1.0.0",
"h5py>=2.10.0",
"torch>=1.8.0",
"numpy>=1.19.2",
"scipy>=1.5.2",
"scikit-learn>=0.23.2",
"matplotlib>=3.3.1",
"pandas>=1.1.2",
"scvi-tools>=0.12.1",
"tqdm>=4.56.0",
"requests",
"gdown==4.6.0",
"leidenalg", # TODO: set version criteria
"muon",
],
classifiers=[
"Programming Language :: Python :: 3.9",
'Environment :: Console',
'Framework :: Jupyter',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
"License :: OSI Approved :: MIT License",
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
],
doc=[
'sphinx',
'sphinx_rtd_theme',
'sphinx_autodoc_typehints',
'typing_extensions; python_version < "3.8"',
],
)