-
Notifications
You must be signed in to change notification settings - Fork 10
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.
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
- build-essential, pyqt4-dev-tools, qt4-designer
$ sudo apt-get install build-essential pyqt4-dev-tools qt4-designer
- Download source: http://www.riverbankcomputing.com/software/sip/download
- Extract:
tar -zxvf sip-4.15.5 ./
- Configure:
python3.3 configure.py
- Make sip:
make
- Install:
sudo make install
- Download source: http://www.riverbankcomputing.com/software/pyqt/download
- Extract:
tar -zxvf PyQt-x11-gpl-4.10.4.tar.gz
- Configure:
python3.3 configure-ng.py
- Make pyqt4:
make
- Install:
sudo make install
- Download: https://pypi.python.org/pypi?:action=display&name=cx_Freeze&version=4.3.3
- Extract:
tar -zxvf cx_Freeze-4.3.3.tar.gz
- Build:
python3.3 setup.py build
- Install:
sudo python3.3 setup.py install