Changes between Version 103 and Version 104 of DevelopGuide


Ignore:
Timestamp:
Apr 2, 2010, 11:41:56 PM (15 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopGuide

    v103 v104  
    55== Introduction ==
    66
    7 Papywizard is entirely written in python. It uses '''PyGTK''' (Python bindings for GTK) toolkit for the GUI, and a few additional modules, mainly for hardware control, '''pybluez''' and '''pyserial'''. Optionnaly, '''vpython''' (OpenGL-based module) can also be used to simulate the position of the head (note that this will be soon a separate application).
     7Papywizard 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'''.
     8
     9== Build from source ==
    810
    911It is best to work on the subversion branch. To get it, just do:
     
    1315}}}
    1416
    15 ''Note: under Windows, you can use [http://tortoisesvn.tigris.org TortoiseSVN].''
    16 
     17In order to run Papywizard from source, you need the following libs:
     18
     19 * Python >= 2.5: http://www.python.org/ftp/python
     20 * (Qt: http://qt.nokia.com/downloads Needed?)
     21 * !PyQt >= 4.5: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4
     22 * pybluez: http://code.google.com/p/pybluez/downloads/list
     23 * pyserial: http://sourceforge.net/projects/pyserial/files
     24
     25== Gnu/linux ==
     26
     27All the needed libs come with most distributions.
     28
     29== Windows ==
     30
     31 * pywin32: http://sourceforge.net/projects/pywin32
     32 * svn tool: http://tortoisesvn.tigris.org
     33
     34MSVC2008 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
    1735
    1836== API ==
     
    2644Papywizard uses a MVC-like pattern, which keeps the model separated from the views. This allows to use any other toolkit if needed; I recently switched from Tkinter to PyGTK, to run Papywizard on Nokia plateform. I hope, one day, to be able to run Papywizard on QTopia-based devices, like Openmoko. But I first need to get such device ;o)
    2745
    28 Low-levels routines which control the hardware are also in their own package; I plan to made them even more modular, to be used in an external project to control the head. For know, only Merlin/Orion head is supported, but it is very easy to implement other heads.
    29 
    30 A word about the simulation (to come).
     46A plugin architecture allows to control different hardwares.
    3147
    3248=== Hardware ===
     
    283299=== Windows installer ===
    284300
    285 This is a little bit tricky (as always on this plateform!). You first need to install all developement tools and libraries:
    286 
    287 ''Draft''
    288 
    289  * Python: http://www.python.org/ftp/python
    290  * (Qt: http://qt.nokia.com/downloads)
    291  * !PyQt: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4
    292 
    293 (you may also need to install MSVC2008 C++ runtime DLLs from http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en)
    294 
    295  * pybluez: http://code.google.com/p/pybluez/downloads/list
    296  * pyserial: http://sourceforge.net/projects/pyserial/files
    297  * pywin32: http://sourceforge.net/projects/pywin32
    298 
    299 Then, build the executable, by launching the windows script {{{windows/buildexe.bat}}}
    300 
    301 Last, edit (update the version number) and run the script {{{windows/papywizard.nsi}}} (need to install NSIS software) to build the installer itself.
     301 * install NSIS software
     302 * build the executable by launching the windows script {{{windows/buildexe.bat}}}
     303 * edit (update the version number) and run the script {{{windows/papywizard.nsi}}}
    302304
    303305== Contribute ==