forked from trailofbits/manticore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (51 loc) · 1.27 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
import os
from setuptools import setup, find_packages
on_rtd = os.environ.get('READTHEDOCS') == 'True'
def rtd_dependent_deps():
# RTD tries to build z3, ooms, and fails to build.
if on_rtd:
return []
else:
return ['z3-solver']
setup(
name='manticore',
description='Manticore is a symbolic execution tool for analysis of binaries and smart contracts.',
url='https://github.com/trailofbits/manticore',
author='Trail of Bits',
version='0.2.1.1',
packages=find_packages(),
python_requires='>=3.6',
install_requires=[
'capstone>=3.0.5',
'pyelftools',
'unicorn',
'ply',
'pysha3',
'pyevmasm',
'pyyaml',
] + rtd_dependent_deps(),
dependency_links=[
'https://github.com/aquynh/capstone/archive/next.zip#egg=capstone-4&subdirectory=bindings/python',
],
extras_require={
'dev': [
'keystone-engine',
'coverage',
'nose',
'Sphinx',
],
'dev-noks': [
'coverage',
'nose',
'Sphinx',
],
'redis': [
'redis',
]
},
entry_points={
'console_scripts': [
'manticore = manticore.__main__:main'
]
}
)