forked from discopop-project/discopop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (53 loc) · 1.99 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
# 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
os.chdir(Path(__file__).parent)
SRC = Path("discopop_explorer")
def get_version():
with open("VERSION") as f:
return f.read().rstrip()
def get_requirements():
with open(SRC / "requirements.txt") as f:
return [line.rstrip() for line in f]
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="discopop@lists.parallel.informatik.tu-darmstadt.de",
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=get_requirements(),
python_requires=">=3.6",
entry_points={
"console_scripts": [
"discopop_explorer=discopop_explorer.__main__:main",
"discopop_profiler=discopop_profiler.__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"],
)