forked from sashs/Ropper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (39 loc) · 1.23 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
from setuptools import setup, find_packages
version = '1.11.10'
package_name = "ropper"
package_dir = "ropper"
package_description = """Show information about files in different file formats and find gadgets to build rop chains for different architectures.
""".strip()
packages = find_packages()
valid_packages = []
for p in packages:
if p.startswith('ropper'):
valid_packages.append(p)
install_requires = ['filebytes>=0.9.18']
try:
import capstone
if capstone.cs_version()[0] < 3:
install_requires.append('capstone')
del capstone
except:
install_requires.append('capstone')
setup(
name=package_name,
version=version,
description=package_description,
packages=valid_packages,
license="GPLv2",
author="Sascha Schirra",
author_email="[email protected]",
install_requires=install_requires,
url="http://scoding.de/ropper/",
entry_points={'console_scripts': ['ropper = ropper.__main__:main']},
classifiers=[
'Topic :: Security',
'Environment :: Console',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Intended Audience :: Developers'
]
)