-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
91 lines (87 loc) · 3.03 KB
/
setup.py
File metadata and controls
91 lines (87 loc) · 3.03 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
################################################################################
#
# Copyright 2022-2025 Vincent Dary
#
# This file is part of fiit.
#
# fiit is free software: you can redistribute it and/or modify it under the
# terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# fiit 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 Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with fiit. If not, see <https://www.gnu.org/licenses/>.
#
################################################################################
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="fiit-py",
use_scm_version=True,
author="Vincent Dary",
author_email="",
description="fiit: Firmware Instrumentation and Introspection Tools",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/firmware-crunch/fiit",
project_urls={
"Bug Tracker": "https://github.com/firmware-crunch/fiit/issues"
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)"
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.9",
install_requires=[
# TODO : remove setuptools freeze
# temporary setuptools freeze, waiting for the next Unicorn update.
# raison:
# Warning in unicorn/unicorn.py:8:
# UserWarning: pkg_resources is deprecated as an API
# The pkg_resources package is slated for removal as early as 2025-11-30
# Refrain from using this package or pin to Setuptools<81.
# import pkg_resources
'setuptools <80.9',
'unicorn ==2.0.1',
# unicorn dev branch
#'unicorn @ git+https://github.com/unicorn-engine/unicorn.git@dev#subdirectory=bindings/python',
'capstone ==4.0.2',
'pycparser ==2.20',
'pycparserext ==2021.1',
'cmsis-svd ==0.6',
'ipython ==7.26.0',
'ipykernel ==6.29.4',
'background-zmq-ipython ==1.20220901.135250',
'Cerberus ==1.3.5',
'PyYAML ==6.0',
'tabulate ==0.9.0',
'seaborn ==0.13.0',
'plotext ==5.2.8'
],
extras_require={
"DEV": [
'pytest ==7.4.0',
'pytest-cov ==4.1.0',
'pyelftools ==0.29',
]
},
entry_points={
'console_scripts': [
'fiit=fiit.fiit:main',
'fiit_jupyter=fiit.shell.jupyter:fiit_jupyter'
]
},
zip_safe=False,
package_data={
'fiit': ['py.typed'],
},
)