-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
61 lines (52 loc) · 1.47 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
import os
from setuptools import setup, find_packages
def read(fname):
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, fname)) as f:
out = f.read()
return out
def update_version():
ver = read('northstar/_version.py').rstrip('\n').split()[-1].strip('"')
return ver
def get_readme():
return read('README.md')
setup(
name="northstar",
version=update_version(),
author="Fabio Zanini",
author_email="fabio.zanini@fastmail.fm",
description="Single cell type annotation guided by cell atlases, with freedom to be queer.",
license="MIT",
keywords="graph semi-supervised",
url="https://github.com/northstaratlas/northstar",
packages=['northstar'] + ['northstar.' + s for s in find_packages(where='northstar')],
long_description=get_readme(),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
install_requires=[
'numpy',
'pandas',
'scikit-learn',
'python-igraph>=0.8.0',
'leidenalg>=0.8.0',
'anndata',
],
setup_requires=[
'numpy',
'pandas',
'scikit-learn',
'python-igraph>=0.8.0',
'leidenalg>=0.8.0',
'anndata',
],
extras_require={
'atlas-fetcher': [
'requests',
'loompy',
]
},
)