CC-2894: install should check that Virtualenv is functional before proceeding
- install script now check if all python packages are installed, if not, it will reinstall it
This commit is contained in:
parent
28f1d885f2
commit
3bbd76466a
3 changed files with 46 additions and 5 deletions
11
python_apps/python-virtualenv/virtualenv-check.py
Normal file
11
python_apps/python-virtualenv/virtualenv-check.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
try:
|
||||
import amqplib
|
||||
import anyjson
|
||||
import configobj
|
||||
import kombu
|
||||
import mutagen
|
||||
import poster
|
||||
import pyinotify
|
||||
print 0
|
||||
except ImportError, e:
|
||||
print 1
|
Loading…
Add table
Add a link
Reference in a new issue