Ropper/setup.py

45 lines
1.2 KiB
Python
Raw Normal View History

2014-08-31 22:55:01 +08:00
from setuptools import setup, find_packages
2016-05-03 18:59:51 +08:00
2022-08-08 04:25:38 +08:00
version = '1.13.8'
2014-08-31 22:55:01 +08:00
package_name = "ropper"
package_dir = "ropper"
2017-10-29 23:57:50 +08:00
package_description = """Show information about files in different file formats and find gadgets to build rop chains for different architectures.
2014-08-31 22:55:01 +08:00
""".strip()
2015-08-26 16:29:46 +08:00
packages = find_packages()
2015-08-26 12:39:24 +08:00
valid_packages = []
for p in packages:
2015-08-27 20:14:18 +08:00
if p.startswith('ropper'):
2015-08-26 12:39:24 +08:00
valid_packages.append(p)
2019-10-04 17:41:15 +08:00
install_requires = ['filebytes>=0.10.0']
2016-06-10 17:37:08 +08:00
try:
import capstone
if capstone.cs_version()[0] < 3:
install_requires.append('capstone')
del capstone
except:
install_requires.append('capstone')
2014-08-31 22:55:01 +08:00
setup(
name=package_name,
version=version,
description=package_description,
2015-08-26 12:39:24 +08:00
packages=valid_packages,
2018-12-20 23:09:19 +08:00
license="BSD",
2014-08-31 22:55:01 +08:00
author="Sascha Schirra",
2015-03-04 04:27:34 +08:00
author_email="sashs@scoding.de",
2016-06-10 17:37:08 +08:00
install_requires=install_requires,
url="http://scoding.de/ropper/",
entry_points={'console_scripts': ['ropper = ropper.__main__:main']},
2014-08-31 22:55:01 +08:00
classifiers=[
'Topic :: Security',
'Environment :: Console',
'Operating System :: OS Independent',
2019-04-03 01:45:40 +08:00
'License :: OSI Approved :: BSD License',
2015-03-04 04:27:34 +08:00
'Programming Language :: Python',
2014-08-31 22:55:01 +08:00
'Intended Audience :: Developers'
]
)