Skip to content

Development Environment Setup

critzo edited this page May 13, 2014 · 1 revision

This page documents how to set up a development environment on a Debian Wheezy system for working on the Commotion Client codebase.

Install Python 3.3.5

We'll be installing Python 3.3.5 as an alternate install to Debian's stock Python 2.7.3

  • Change to /tmp: cd /tmp
  • Download source: http://www.python.org/ftp/python/3.3.5/Python-3.3.5.tgz
  • Configure with shared libraries: ./configure --enable-shared
  • Make Python 3.3.5: make
  • Install as an alternate install: sudo make altinstall
  • Create symlink for --enable-shared to work: sudo ln -s /usr/local/lib/libpython3.3m.so.1.0 /usr/lib/python3/libpython3.3m.so.1.0
  • Logout/login to refresh your user session, or restart your computer

Install Dependencies

  • build-essential, pyqt4-dev-tools, qt4-designer
$ sudo apt-get install build-essential pyqt4-dev-tools qt4-designer

Install sip

Install pyqt4

Install cx_freeze