-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
82 lines (58 loc) · 2.28 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
81
82
import os
from setuptools import setup, find_packages
from os.path import abspath, dirname, join
# here - where we are.
here = os.path.abspath(os.path.dirname(__file__))
# Path to the about.py file
about_py_path = join(here, "AndroidFridaManager", "about.py")
# Read version and author from about.py
with open(about_py_path) as f:
exec(f.read())
# Fetches the content from README.md
# This will be used for the "long_description" field.
README_MD = open(join(dirname(abspath(__file__)), "README.md")).read()
# read the package requirements for install_requires
with open(os.path.join(here, 'requirements.txt'), 'r') as f:
requirements = f.readlines()
setup(
# pip install android-frida-manager
name="AndroidFridaManager",
version=__version__,
# The description that will be shown on PyPI.
description="A python API in order to install and run the frida-server on an Android device.",
# The content that will be shown on your project page.
# In this case, we're displaying whatever is there in our README.md file
long_description=README_MD,
# Now, we'll tell PyPI what language our README file is in.
long_description_content_type="text/markdown",
url="https://github.com/fkie-cad/AndroidFridaManager",
author=__author__,
author_email="[email protected]",
license='GPL v3',
# include other files
#package_data={
# '': [ os.path.join(here, 'TBD') # the frida agent to do the actual hooking
# ],
# },
include_package_data=True,
python_requires='>=3.6',
packages=find_packages(),
install_requires=requirements,
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: JavaScript",
"Topic :: Security",
"Topic :: Software Development :: Debuggers"
],
# Keywords are tags that identify your project and help searching for it
# This field is OPTIONAL
keywords=["mobile", "instrumentation", "frida", "hook", "android"],
entry_points={
'console_scripts': [
'afrim=AndroidFridaManager.FridaManager:main',
],
},
)