Client Validator

Note

Zur Installation von Mercurial siehe Mercurial.

Windows 7 64 Bit

  1. python-2.7.3.msi installiert (32 Bit)
  2. setuptools-0.6c11.win32-py2.7.exe installiert
  3. PySide-1.1.0qt474.win32-py2.7.exe installiert
  4. $ python get-pip.py
  5. $ pip install virtualenv
  6. $ hg clone https://hg.veit-schiele.de/private/pydica
  7. $ cd pydoca
  8. $ virtualenv .
  9. $ Scripts\active.bat
  10. $ pip install pycparser configobj pytest mock
  11. die Verzeichnisse C:\Python27\Lib\site-packages\PySide und C:\Python27\Lib\site-packages\PySide-1.1.0qt474-py2.7.egg-info in das site-packages-Verzeichnis des virtualenv kopiert
  12. die Datei tiffcp.exe ins Scripts-Verzeichnis des virtualenv kopiert
  13. ausserhalb des virtualenv ausgefuehrt: $ pip uninstall pyside
  14. im globalen site-packages noch alles gelöscht, was nach pyside aussieht
  15. wieder innerhalb des virtualenv die Umgebungsvariable QT_PLUGIN_PATH auf den Pfad zum Plugin-Verzeichnis des pyside im virtualenv gesetzt
  16. jetzt klappen sowohl die Tests als auch der Client-Validator

Mac OS X

  1. $ brew install qt
  2. $ brew install python
  3. $ pip install mercurial # do _not_ use the brew version -- wrong !!
  4. $ brew install python3
  5. $ brew install virtualenv
  6. $ virtualenv -p python3
  7. $ source bin/activate
  8. (pydica) $ wget https://bitbucket.org/pydica/pyside-setup/downloads/PySide-1.1.2-py3.3.egg
  9. (pydica) $ easy_install PySide-1.1.2-py3.3.egg
  10. (pydica) $ bin/pyside_postinstall.py -install
  11. (pydica) $ pip install tiffany pytest six