/
setup.py
executable file
·49 lines (43 loc) · 1.32 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
import sys
import shutil
from subprocess import call
from setuptools import setup
from warnings import warn
if sys.version_info.major != 3:
raise RuntimeError('Palantir requires Python 3')
if sys.version_info.minor < 6:
warn('Analysis methods were developed using Python 3.6')
# get version
with open('src/palantir/version.py') as f:
exec(f.read())
# install GraphDiffusion
if shutil.which('pip3'):
call(['pip3', 'install', 'git+https://github.com/jacoblevine/PhenoGraph.git'])
setup(name='palantir',
version=__version__,# read in from the exec of version.py; ignore error
description='Palantir for modeling continuous cell state and cell fate choices in single cell data',
url='https://github.com/dpeerlab/palantir',
author='Manu Setty',
author_email='manu.talanki@gmail.com',
package_dir={'': 'src'},
packages=['palantir'],
install_requires=[
'numpy>=1.14.2',
'pandas>=0.22.0',
'scipy>=1.3',
'networkx>=2.1',
'scikit-learn',
'joblib',
'fcsparser>=0.1.2',
'phenograph',
'tables>=3.4.2',
'Cython',
'cmake',
'MulticoreTSNE',
'matplotlib>=2.2.2',
'seaborn>=0.8.1',
'tzlocal',
'rpy2>=3.0.2',
'scanpy'
],
)