Просмотр исходного кода

Merge pull request #28 from buxx/dev/install/readme

Tracim 9 лет назад
Родитель
Сommit
657f799b43
1 измененных файлов: 6 добавлений и 2 удалений
  1. 6 2
      README.md

+ 6 - 2
README.md Просмотреть файл

141
 Tracim uses virtualenv as deployment environment. This ensure that there will be no 
141
 Tracim uses virtualenv as deployment environment. This ensure that there will be no 
142
 conflict between system-wide python installation and Tracim required ones.
142
 conflict between system-wide python installation and Tracim required ones.
143
 
143
 
144
+**Note**: If you're using python3.4 or more, modify ``install/requirements.txt`` file to remove
145
+``wsgiref`` package and change ``tgext.pluggable`` to ``0.5.4`` version.
146
+
147
+    SITE_PACKAGES_PATH=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"`
144
     virtualenv -p /usr/bin/python3 tg2env
148
     virtualenv -p /usr/bin/python3 tg2env
145
     source tg2env/bin/activate
149
     source tg2env/bin/activate
146
     cd tracim && python setup.py develop && cd -
150
     cd tracim && python setup.py develop && cd -
147
     pip install -r install/requirements.txt
151
     pip install -r install/requirements.txt
148
-    ./bin/tg2env-patch 1 tg2env/lib/python3.2/site-packages
152
+    ./bin/tg2env-patch 1 $SITE_PACKAGES_PATH
149
     pip install -r install/requirements.txt
153
     pip install -r install/requirements.txt
150
-    ./bin/tg2env-patch 2 tg2env/lib/python3.2/site-packages
154
+    ./bin/tg2env-patch 2 $SITE_PACKAGES_PATH
151
     
155
     
152
 Notes:
156
 Notes:
153
 
157