-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
59 lines (56 loc) · 2.03 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
# GTIRB-Rewriting Rewriting API for GTIRB
# Copyright (C) 2021 GrammaTech, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# This project is sponsored by the Office of Naval Research, One Liberty
# Center, 875 N. Randolph Street, Arlington, VA 22203 under contract #
# N68335-17-C-0700. The content of the information does not necessarily
# reflect the position or policy of the Government and no official
# endorsement should be inferred.
import imp
import setuptools
version = imp.load_source(
"pkginfo.version", "gtirb_rewriting/version.py"
).__version__
setuptools.setup(
name="gtirb-rewriting",
version=version,
author="GrammaTech",
author_email="[email protected]",
description="Utilities for rewriting GTIRB",
packages=setuptools.find_packages(),
install_requires=[
"capstone-gt",
"gtirb-capstone >= 1.0.1",
"gtirb-functions >= 1.0.8",
"gtirb-layout ~= 1.0",
"gtirb >= 1.10.6",
"mcasm ~= 0.3.0",
"more-itertools >= 8.11",
"entrypoints",
"typing-extensions ~= 4.4",
"leb128 ~= 1.0",
],
entry_points={
"console_scripts": [
"gtirb-rewriting=gtirb_rewriting.driver:generic_main",
"gtirb-as=gtirb_rewriting.assembler.__main__:main",
],
},
classifiers=["Programming Language :: Python :: 3"],
url="https://github.com/grammatech/gtirb-rewriting",
license="GPLv3",
python_requires=">=3.7",
)