-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (71 loc) · 2.18 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
test_requirements = ["pytest", "pytest-cov", "pytest-raises"]
docs_requirements = ["sphinx==1.8.5", "sphinx-rtd-theme", "m2r"]
setup_requirements = ["pytest-runner"]
dev_requirements = [
*test_requirements,
*docs_requirements,
*setup_requirements,
"pre-commit",
"bump2version>=1.0.0",
"ipython>=7.5.0",
"tox>=3.5.2",
"twine>=1.13.0",
"wheel>=0.33.1",
]
requirements = []
extra_requirements = {
"test": test_requirements,
"docs": docs_requirements,
"setup": setup_requirements,
"dev": dev_requirements,
"all": [
*requirements,
*test_requirements,
*docs_requirements,
*setup_requirements,
*dev_requirements,
],
}
setup(
author="Thomas Tu",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research ",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
],
description="An implementation of the MBO scheme on graphs.",
install_requires=requirements,
license="MIT",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="graph_mbo",
name="graph_mbo",
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.6",
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/ephesosx/graph-mbo",
# Do not edit this string manually, always use bumpversion
# Details in CONTRIBUTING.rst
version="0.0.1",
zip_safe=False,
)