-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
66 lines (58 loc) · 2.05 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import pip
from setuptools import find_packages, setup
_SISUA_VERSION = '0.4.5'
if not (sys.version_info.major == 3 and sys.version_info.minor == 7):
raise RuntimeError("Sorry, we only support Python=3.7!")
if float(pip.__version__.split('.')[0]) < 19.0:
raise RuntimeError(
"'sisua' package require pip version >= 19.0, your pip version is %s, "
"run `pip install pip --upgrade` to upgrade!" % str(pip.__version__))
# ===========================================================================
# Main
# ===========================================================================
with open('README.rst') as readme_file:
readme = readme_file.read()
author = 'University of Eastern Finland'
requirements = [
"odin-ai==1.2.5",
"seaborn>=0.9",
"pandas",
"scanpy==1.5.1"
# "hyperopt==0.1.2",
]
setup(
author=author,
author_email='trung@imito.ai',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
],
description="SemI-SUpervised generative Autoencoder for single cell data",
long_description=readme,
long_description_content_type='text/x-rst',
scripts=['bin/sisua-train', 'bin/sisua-analyze'],
setup_requires=['pip>=19.0'],
install_requires=requirements,
license="MIT license",
include_package_data=True,
keywords='sisua',
name='sisua',
packages=find_packages(),
test_suite='tests',
url='https://github.com/trungnt13/sisua',
version=_SISUA_VERSION,
zip_safe=False,
)