Skip to content

Commit

Permalink
Specify version for python-daemon, fixes #8.
Browse files Browse the repository at this point in the history
Pull request to resolve #8. python-daemon 2.0.3 breaks the install with 'No module named version'. Installing version 2.0.2 fixes this issue. python-daemon requires docutils. So Install this package along with the other requirements before installing lamson.
  • Loading branch information
tweemeterjop committed Jan 19, 2015
1 parent cc3862d commit 62eae77
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions install.sh
Expand Up @@ -101,14 +101,16 @@ receiver () {
virtualenv shivaReceiver
cd shivaReceiver
source bin/activate

printf "\n[*] Installing Lamson (receiver) and creating project: \n"
pip install lamson==1.3.4
lamson gen -project receiver


printf "\n[*] Installing required python modules for receiver:\n"
easy_install -U distribute
pip install apscheduler==2.1.2
pip install docutils
pip install python-daemon==2.0.2

printf "\n[*] Installing Lamson (receiver) and creating project: \n"
pip install lamson==1.3.4
lamson gen -project receiver

printf "\n[*] Copying neccesary files: \n"
cp -v $WORK_PATH/receiver/core/encoding.py $INSTALL_PATH/shivaReceiver/lib/python2.7/site-packages/lamson/
Expand Down Expand Up @@ -140,17 +142,19 @@ analyzer () {
virtualenv shivaAnalyzer
cd shivaAnalyzer
source bin/activate

printf "\n[*] Installing Lamson (analyzer) and creating project:\n"
pip install lamson==1.3.4
lamson gen -project analyzer


printf "\n[*] Installing required python modules for analyzer:\n"
easy_install -U distribute
pip install cython==0.20.2
pip install apscheduler==2.1.2
pip install MySQL-python==1.2.5
pip install ssdeep==3.1
pip install docutils
pip install python-daemon==2.0.2

printf "\n[*] Installing Lamson (analyzer) and creating project:\n"
pip install lamson==1.3.4
lamson gen -project analyzer

printf "\n[*] Copying neccesary files:\n"
cp -v $WORK_PATH/analyzer/core/server.py $INSTALL_PATH/shivaAnalyzer/lib/python2.7/site-packages/lamson/
Expand Down

0 comments on commit 62eae77

Please sign in to comment.