forked from lilab-bcb/cirrocumulus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
87 lines (76 loc) · 2.46 KB
/
setup.py
File metadata and controls
87 lines (76 loc) · 2.46 KB
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
79
80
81
82
83
84
85
86
87
import subprocess
from codecs import open
from os import path
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
subprocess.check_call(['npm', 'i'])
subprocess.check_call(['npm', 'run-script', 'build'])
develop.run(self)
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
subprocess.check_call(['npm', 'i'])
subprocess.check_call(['npm', 'run-script', 'build'])
install.run(self)
with open(path.join(path.abspath(path.dirname(__file__)), "README.rst"), encoding="utf-8") as f:
long_description = f.read()
requires = [
"anndata",
"CacheControl",
"flask",
"flask-compress",
"fsspec",
"gunicorn",
"loompy",
"numpy",
"pandas",
"pyarrow",
"pymongo",
"scipy",
"zarr"
]
setup(
name="cirrocumulus",
use_scm_version=True,
setup_requires=['setuptools_scm'],
# cmdclass={
# 'develop': PostDevelopCommand,
# 'install': PostInstallCommand,
# },
# version="2.0.2",
description="Single-cell visualization application",
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/klarman-cell-observatory/cirrocumulus",
author="Joshua Gould",
author_email='jgould@broadinstitute.org',
classifiers=[
"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.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Visualization"
],
extras_require=dict(
test=['pytest', 'scanpy', 'mongomock']
),
keywords="single cell/nucleus genomics visualization",
packages=find_packages(),
include_package_data=True,
install_requires=requires,
python_requires=">=3.6",
package_data={
},
entry_points={"console_scripts": ["cirro=cirrocumulus.__main__:main"]},
)