Use setuptool extras for dev deps (#40)

* Add extra deps to setup.py

* Fix nose dep

* lol wrong keystone

* Fix readme

* Update travis

* Workaround capstone install bug

* Use --no-binary in only pip install line

* Fix another readme regression

* Not again
This commit is contained in:
Mark Mossberg
2017-03-02 17:31:06 -05:00
committed by GitHub
parent 7412b2a374
commit d2a0165958
3 changed files with 13 additions and 8 deletions
+1 -3
View File
@@ -17,9 +17,7 @@ python:
- 2.7
install:
- travis_retry pip install -U pip
- travis_retry pip install --no-binary keystone-engine keystone-engine
- travis_retry pip install coverage
- travis_retry pip install --no-binary capstone .
- travis_retry pip install --no-binary capstone --no-binary keystone-engine .[dev] # cs/ks can have pip install issues (cs issues #445)
- scripts/travis_install_z3.sh
- scripts/travis_install_unicorn.sh
script:
+4 -4
View File
@@ -51,7 +51,7 @@ enclosed `z3` binary in your `$PATH`.
> Note: Due to a known [issue](https://github.com/aquynh/capstone/issues/445),
Capstone may not install correctly. If you get this error message,
"ImportError: ERROR: fail to load the dynamic library.", or another related
to Capstone, try reinstalling via `pip install -I --no-binary capstone`
to Capstone, try reinstalling via `pip install -I --no-binary capstone capstone`
### for developers
@@ -83,9 +83,9 @@ After installing Manticore, here is some basic usage you can try.
```
cd examples/linux
make
manticore basic # a pse_* directory is created
cat pse_*/*1.stdin | ./basic
cat pse_*/*2.stdin | ./basic
manticore basic # a mcore_* directory is created
cat mcore_*/*1.stdin | ./basic
cat mcore_*/*2.stdin | ./basic
cd ../script
python count_instructions.py ../linux/helloworld
+8 -1
View File
@@ -7,8 +7,15 @@ setup(
install_requires=[
'capstone',
'pyelftools',
'unicorn'
'unicorn',
],
extras_require={
'dev': [
'keystone-engine',
'coverage',
'nose',
]
},
entry_points={
'console_scripts': [
'manticore = manticore.__main__:main'