Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
77 lines (72 loc) · 2.67 KB
/
Copy pathsetup.py
File metadata and controls
77 lines (72 loc) · 2.67 KB
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
#!/usr/bin/env python
# Copyright 2016, Yahoo Inc.
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
importio
importos
importre
fromsetuptoolsimportsetup
withopen("README.md") asf:
long_description=f.read()
# Grab the version using convention described by flask
# https://github.com/pallets/flask/blob/master/setup.py#L10
withio.open("graphkit/__init__.py", "rt", encoding="utf8") asf:
version=re.search(r'__version__ = "(.*?)"', f.read()).group(1)
plot_reqs= ["matplotlib", "pydot"] # to test plot # to test plot
test_reqs=plot_reqs+ ["pytest", "pytest-cov", "pytest-sphinx"]
setup(
name="graphkit",
version=version,
description="Lightweight computation graphs for Python",
long_description=long_description,
author="Huy Nguyen, Arel Cordero, Pierre Garrigues, Rob Hess, "
"Tobi Baumgartner, Clayton Mellina, ankostis@gmail.com",
author_email="huyng@yahoo-inc.com",
url="http://github.com/yahoo/graphkit",
project_urls={
"Documentation": "https://pythonhosted.org/graphkit/",
"Release Notes": "https://pythonhosted.org/graphkit/changes.html",
"Sources": "https://github.com/yahoo/graphkit",
"Bug Tracker": "https://github.com/yahoo/graphkit/issues",
},
packages=["graphkit"],
install_requires=[
"networkx; python_version >= '3.5'",
"networkx == 2.2; python_version < '3.5'",
"boltons", # for IndexSet
],
extras_require={"plot": plot_reqs, "test": test_reqs},
tests_require=test_reqs,
license="Apache-2.0",
keywords=[
"graph",
"computation graph",
"DAG",
"directed acyclical graph",
"executor",
"scheduler",
"etl",
"workflow",
"pipeline",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
],
zip_safe=True,
platforms="Windows,Linux,Solaris,Mac OS-X,Unix",
)