2
0

lily.sh 384 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. set -e
  3. export PYTHON_HOME=$PWD/python
  4. if [ ! -d $PYTHON_HOME ]
  5. then
  6. python -m venv $PYTHON_HOME
  7. fi
  8. source $PWD/python/bin/activate
  9. if [ ! -f $PYTHON_HOME/bin/ttx ]
  10. then
  11. pip install psycopg minio redis[hiredis] \
  12. pika msgpack matplotlib ebooklib \
  13. grpcio protobuf grpcio-health-checking \
  14. pandas openpyxl xlrd pyxlsb
  15. fi
  16. python lily $*