-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsetup.py
60 lines (55 loc) · 1.68 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
import os
import sys
import setuptools
if sys.version_info < (3, 6):
print("Unfortunately, your python version is not supported!\n" +
"Please upgrade at least to Python 3.6!")
sys.exit(1)
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "scripts", "__version__.py"), "r", encoding="utf-8") as f:
exec(f.read(), about)
with open("README.rst", "r", encoding="utf-8") as fh:
long_description = fh.read()
requires = [
'click',
'androguard >= 4.0.0',
'apk-signer',
'pytest',
'colorlog',
'coverage',
'requests',
]
setuptools.setup(
name=about["__title__"],
python_requires='>=3.6',
version=about["__version__"],
author=about["__author__"],
author_email=about["__author_email__"],
description=about["__description__"],
install_requires=requires,
long_description=long_description,
long_description_content_type="text/x-rst",
url=about["__url__"],
packages=setuptools.find_packages(),
package_data={
'scripts': [
"files/README.md",
]
},
entry_points={
'console_scripts': ['frida-gadget = scripts.cli:run'],
},
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)