switch to requirements.txt for python deps

This commit is contained in:
George Hotz 2014-11-19 22:20:13 +00:00
parent ca77c3be51
commit 368c666802
3 changed files with 15 additions and 2 deletions

View File

@ -109,7 +109,7 @@ cp -av cda_build.sh distrib/qira/
# then you run qira-i386 <binary>, we need to hack in the -singlestep arg
echo "copying binaries"
cp -av install.sh qira fetchlibs.sh distrib/qira/
cp -av requirements.txt install.sh qira fetchlibs.sh distrib/qira/
echo "making archive"
cd distrib/

View File

@ -38,7 +38,10 @@ fi
echo "installing pip packages"
# we install more than we strictly need here, because pip is so easy
sudo $PIP install --upgrade six html flask-socketio pillow pyelftools socketIO-client pydot ipaddr capstone hexdump ./qiradb
sudo $PIP install --upgrade -r requirements.txt
# can this go in requirements?
sudo $PIP install --upgrade ./qiradb
echo "making symlink"
sudo ln -sf $(pwd)/qira /usr/local/bin/qira

10
requirements.txt Normal file
View File

@ -0,0 +1,10 @@
six
html
flask-socketio
pillow
pyelftools
socketIO-client
pydot
ipaddr
capstone
hexdump