-
Notifications
You must be signed in to change notification settings - Fork 58
/
setup.py
52 lines (48 loc) · 1.3 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
import setuptools
import os
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Function to read the version from version.py
def get_version():
base_dir = os.path.dirname(os.path.realpath(__file__))
with open(os.path.join(base_dir, 'src/cnmf/version.py')) as f:
locals = {}
exec(f.read(), locals)
return locals['__version__']
setuptools.setup(
name="cnmf",
version=get_version(),
author="Dylan Kotliar",
author_email="[email protected]",
description="Consensus NMF for scRNA-Seq data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/dylkot/cNMF",
project_urls={
"Bug Tracker": "https://github.com/dylkot/cNMF/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
entry_points={
'console_scripts': [
'cnmf = cnmf:main',
],
},
install_requires=[
'scikit-learn>=1.0',
'anndata>=0.9',
'scanpy',
'pandas',
'numpy',
'fastcluster',
'matplotlib',
'palettable',
'scipy',
'pyyaml'
]
)