-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
83 lines (72 loc) · 2.26 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("HISTORY.rst") as history_file:
history = history_file.read()
test_requirements = ["codecov", "flake8", "pytest", "pytest-cov", "pytest-raises"]
setup_requirements = ["pytest-runner"]
dev_requirements = [
"bumpversion>=0.5.3",
"wheel>=0.33.1",
"flake8>=3.7.7",
"tox>=3.5.2",
"coverage>=5.0a4",
"Sphinx>=2.0.0b1",
"sphinx_rtd_theme>=0.3.1",
"recommonmark>=0.5.0",
"twine>=1.13.0",
"pytest>=4.3.0",
"pytest-cov==2.6.1",
"pytest-raises>=0.10",
"pytest-runner>=4.4",
]
interactive_requirements = ["altair", "jupyterlab", "matplotlib"]
with open("requirements.txt", "r") as f:
requirements = f.read().splitlines()
extra_requirements = {
"test": test_requirements,
"setup": setup_requirements,
"dev": dev_requirements,
"interactive": interactive_requirements,
"all": [
*requirements,
*test_requirements,
*setup_requirements,
*dev_requirements,
*interactive_requirements,
],
}
setup(
author="Ritvik Vasan",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: Allen Institute Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
description="A research testbed for conditional variational autoencoders",
entry_points={
"console_scripts": ["CVAE_train=CVAE_testbed.bin.CVAE_train:train_model"]
},
install_requires=requirements,
license="Allen Institute Software License",
long_description=readme + "\n\n" + history,
include_package_data=True,
keywords="CVAE_testbed",
name="CVAE_testbed",
packages=find_packages(),
python_requires=">=3.6",
setup_requires=setup_requirements,
test_suite="CVAE_testbed/CVAE_testbed/tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/AllenCellModeling/CVAE_testbed",
version="0.1.0",
zip_safe=False,
)