Revision a99da5828ac300c849c1209e512a7c8c8f50c60f authored by yan on 30 March 2018, 16:58:31 UTC, committed by yan on 30 March 2018, 16:58:31 UTC
1 parent abf3285
Raw File
setup.py
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.1.7',
    classifiers = [
            "Programming Language :: Python :: 2.7",
    ],
    packages=find_packages(),
    install_requires=[
        'capstone>=3.0.5rc2',
        'pyelftools',
        'unicorn',
        'ply',
        'pysha3',
    ] + rtd_dependent_deps(),
    extras_require={
        'dev': [
            'keystone-engine',
            'coverage',
            'nose',
            'Sphinx',
            'redis',
            'future',
        ],
        'redis': [
            'redis',
        ]
    },
    entry_points={
        'console_scripts': [
            'manticore = manticore.__main__:main'
        ]
    }
)
back to top