forked from discopop-project/discopop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
80 lines (74 loc) · 2.71 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
# This file is part of the DiscoPoP software (http://www.discopop.tu-darmstadt.de)
#
# Copyright (c) 2020, Technische Universitaet Darmstadt, Germany
#
# This software may be modified and distributed under the terms of
# the 3-Clause BSD License. See the LICENSE file in the package base
# directory for details.
import os
import sys
from pathlib import Path
from setuptools import setup, find_packages # type:ignore
from discopop_library.global_data.version.utils import get_version
os.chdir(Path(__file__).parent)
if sys.version_info < (3, 6):
raise SystemExit("Discopop explorer requires Python >= 3.6.")
setup(
name="discopop",
version=get_version(),
packages=find_packages(),
url="https://www.discopop.tu-darmstadt.de/",
author="TU Darmstadt and Iowa State University",
author_email="[email protected]",
description="DiscoPoP is a tool that helps software developers parallelize their "
"programs with threads. It discovers potential parallelism in a "
"sequential program and makes recommendations on how to exploit it.",
# long_description=open(SRC / "README.md").read(),
long_description_content_type="text/markdown",
install_requires=[
"contextlib2>=0.5.5",
"argparse",
"extrap",
"jsonpickle",
"jsons",
"lxml>=4.3.3",
"matplotlib",
"networkx",
"numpy>=1.16.3",
"pluginbase>=1.0.0",
"pstats2",
"schema>=0.7.0",
"sympy",
"sympy_plot_backends",
"alive_progress",
"filelock",
"pydot",
],
extras_require={
"dev": ["mypy", "black", "data-science-types", "pre-commit"],
"ci": ["mypy", "black", "data-science-types"],
},
python_requires=">=3.6",
entry_points={
"console_scripts": [
"discopop_explorer=discopop_explorer.__main__:main",
"discopop_optimizer=discopop_library.discopop_optimizer.__main__:main",
"discopop_patch_generator=discopop_library.PatchGenerator.__main__:main",
"discopop_patch_applicator=discopop_library.PatchApplicator.__main__:main",
"discopop_config_provider=discopop_library.ConfigProvider.__main__:main",
"discopop_auto_tuner=discopop_library.EmpiricalAutotuning.__main__:main"
]
},
zip_safe=True,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development",
],
license_files=["LICENSE"],
include_package_data=True,
)