virtualenv/web/create_python_env.py
changeset 165 64aae3fee9d5
parent 3 63c5437a9b7d
equal deleted inserted replaced
164:4f77196ffde1 165:64aae3fee9d5
     3 refresh the project-boot.py script
     3 refresh the project-boot.py script
     4 
     4 
     5 -prerequisite:
     5 -prerequisite:
     6 
     6 
     7 - virtualenv
     7 - virtualenv
     8 - distribute
       
     9 - psycopg2 requires the PostgreSQL libpq libraries and the pg_config utility
       
    10 
     8 
    11 - python project-boot.py --distribute --no-site-packages --index-url=http://pypi.websushi.org/ --clear --type-install=local --ignore-packages=MYSQL <path_to_venv>
     9 - python project-boot.py --unzip-setuptools --no-site-packages --clear --type-install=local <path_to_venv>
    12 - python project-boot.py --no-site-packages --clear --ignore-packages=MYSQL  --type-install=local <path_to_venv>
       
    13 - For Linux :
       
    14 python project-boot.py --unzip-setuptools --no-site-packages --index-url=http://pypi.websushi.org/ --clear --type-install=local <path_to_venv>
       
    15 
       
    16 Probleme avec mysql :
       
    17 
       
    18 sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib ~/dev/workspace/platform/virtualenv/web/env/venv_platform/lib/python2.7/site-packages/_mysql.so
       
    19 
    10 
    20 """
    11 """
    21 
    12 
    22 import os
    13 import os
    23 import subprocess
    14 import subprocess