Browse Source

Update README.md: specific install for >= python3.4

Bastien Sevajol 9 years ago
parent
commit
0716357f09
1 changed files with 6 additions and 2 deletions
  1. 6 2
      README.md

+ 6 - 2
README.md View File

@@ -141,13 +141,17 @@ _Reminder : Tracim is developped and tested using python3._
141 141
 Tracim uses virtualenv as deployment environment. This ensure that there will be no 
142 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 148
     virtualenv -p /usr/bin/python3 tg2env
145 149
     source tg2env/bin/activate
146 150
     cd tracim && python setup.py develop && cd -
147 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 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 156
 Notes:
153 157