-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
68 lines (64 loc) · 3.13 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
import setuptools
import versioneer
#with open("pypi/README.md", "r") as fh:
#long_description = fh.read()
setuptools.setup(
name="cellbrowser",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
license="GPL 3",
python_requires='>=2.5',
author="Maximilian Haeussler",
author_email="[email protected]",
url="https://github.com/maximilianh/cellBrowser",
description="UCSC Cellbrowser, an interactive browser for single cell data. Includes converters and basic pipelines for text files, Seurat, Scanpy and Cellranger.",
long_description="""The UCSC Cell Browser is an interactive browser for
single cell data, like mRNA or ATAC-seq data. You can display
dimensionality reductions, navigate them with the mouse or the cursor keys,
select cells, color by genes or meta annotations and make many other
changes. The main site runs at https://cells.ucsc.edu, but using this
package you can also convert data yourself and build a Cell Browser HTML
directory that can be served through any University or any other webserver
for static webpages. You can try the Cell Browser at https://cells.ucsc.edu
or read about how to convert data with this package on
https://cellbrowser.rtfd.org.
We strongly recommend that to use Python3, but we make an effort to remain compatible with Python2.""",
long_description_content_type="text/markdown",
packages=setuptools.find_packages("src/cbPyLib"),
package_dir={'':'src/cbPyLib'}, # tell distutils packages are under src
include_package_data=True, # use MANIFEST.in for non-python files
#package_data={
#'cellbrowser': ['cbWeb/js/*.js', 'cbWeb/html/*.html', 'cbWeb/ext/*']
#},
#scripts=['src/cbScanpy'], # want to force python3 as the executable for cbScanpy
entry_points={
'console_scripts': [
'cbBuild = cellbrowser.cellbrowser:cbBuildCli',
'cbScanpy = cellbrowser.cellbrowser:cbScanpyCli',
'cbSeurat = cellbrowser.seurat:cbSeuratCli',
'cbTool = cellbrowser.convert:cbToolCli',
'cbUpgrade = cellbrowser.cellbrowser:cbUpgradeCli',
'cbGuessGencode = cellbrowser.guessgenes:cbGuessGencodeCli',
'cbMarkerAnnotate = cellbrowser.geneinfo:cbMarkerAnnotateCli',
'cbImportScanpy = cellbrowser.convert:cbImportScanpyCli',
'cbImportSeurat = cellbrowser.seurat:cbImportSeuratCli',
'cbImportCellranger = cellbrowser.convert:cbCellrangerCli',
'cbGenes = cellbrowser.genes:cbGenesCli',
'cbHub = cellbrowser.hubmaker:cbHubCli'
]
},
#package_data={
# If any package contains *.txt files, include them:
#'': ['*.txt'],
# And include any *.dat files found in the 'data' subdirectory
# of the 'mypkg' package, also:
#'mypkg': ['data/*.dat'],
#}
zip_safe = False, # do not allow install as an egg, we need to access the .html, .js, .css, etc files
classifiers=[
"Programming Language :: Python :: 2",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: JavaScript"
],
)