Development:Windows Development Environment
From OpenLP
Contents |
Installing Software
The various applications and packages, as well as the steps to install them are detailed on the Windows Environment page.
Installing a Python IDE
There are a number of IDE's for Python available for Windows. Two of the best are PyScripter (Windows only) and Eric4 (cross platform). PyScripter is easier to install and get running, but Eric4 is made for PyQt4 development.
Installing PyScripter
Go to the PyScripter download page and download the installer file (PyScripter-v2.4.1-Setup.exe at the time of writing this). Run that file to install PyScripter on your computer.
Installing Eric4
Go to the Eric download page and make sure to download eric4. You'll need to follow the links in your browser, as Eric4 is hosted at SourceForge.net. The latest version of Eric4 at the time of writing this is 4.4.14, and the file you want to download is eric4-4.4.14.zip.
Unzip it. Double click install.py in the extracted folder.
This will create a file called eric.bat in your Python folder (e.g. C:\Python26\). Double-click this to run Eric4.
Bazaar Client
To access the source code, you will need to use Bazaar, an open source distributed version control system. Windows users can download the Bazaar client which includes TortoiseBzr. Ensure you pick the latest stable version, you may need to scroll down the page to find these.
Further information is on the Bazaar page.
Building pysqlite1.0 for sqlite2 (advanced)
Not necessary at the moment for normal development
- Install Microsoft Visual C++ 2008 Express
- Download pysqlite 1.0.1
- Download sqlite2.8.17 source
- Download sqlite2.8.17 dll
- Unpack pysqlite (using 7-Zip) and follow the INSTALL.win32 instructions for Visual Studio C++.
- Note, use a command prompt started from Start -> Microsoft Visual C++ 2008 Express -> Visual Studio Tools -> Command Prompt. This will setup correct paths for using MSVC commands.