Changes between Version 104 and Version 105 of DevelopGuide
- Timestamp:
- Apr 2, 2010, 11:49:30 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopGuide
v104 v105 5 5 == Introduction == 6 6 7 Papywizard is entirely written in python. Branch 2.x now uses ''' PyQt''' (Python binding for Qt), and a few additional modules, mainly for hardware control, '''pybluez''' and '''pyserial'''.7 Papywizard is entirely written in python. Branch 2.x now uses '''!PyQt''' (Python binding for Qt) for the GUI, '''pybluez''' and/or '''pyserial''' for hardware control. 8 8 9 9 == Build from source == 10 10 11 It is best to work on the subversion branch . To get it, just do:11 It is best to work on the subversion branch: 12 12 13 13 {{{ … … 15 15 }}} 16 16 17 In order to run Papywizard from source, you need the following libs:17 In order to run Papywizard from source, you need: 18 18 19 19 * Python >= 2.5: http://www.python.org/ftp/python 20 * (Qt: http://qt.nokia.com/downloads Needed?) 20 21 and the following libs: 22 23 * Qt >= 4.5: http://qt.nokia.com/downloads 21 24 * !PyQt >= 4.5: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4 22 25 * pybluez: http://code.google.com/p/pybluez/downloads/list 23 26 * pyserial: http://sourceforge.net/projects/pyserial/files 24 27 25 == Gnu/linux == 28 Be sure to use the same python version for all of them. 29 30 Papywizard can be launch by the following commands: 31 32 {{{ 33 $ ./papywizard.sh 34 or 35 $ ./Papywizard.py 36 }}} 37 38 === Gnu/linux === 26 39 27 40 All the needed libs come with most distributions. 28 41 29 == Windows == 42 === Windows === 43 44 On Windows, !PyQt package don't need the Qt package. But the following libs are needed: 30 45 31 46 * pywin32: http://sourceforge.net/projects/pywin32 47 * MSVC2008 C++ runtime DLLs: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en 48 49 To get the sources from the subversion repository, you can use: 50 32 51 * svn tool: http://tortoisesvn.tigris.org 33 52 34 MSVC2008 C++ runtime DLLs may also be needed. It can be download from http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en 53 To launch Papywizard, run the {{{windows/papywizard.bat}}} script. 35 54 36 55 == API ==