Pyjs also contains a Desktop Widget Set version, running as pure python, with three useable Desktop ports available. With web-engine technology at it's core, HTML, CSS, plugins and other related features work out-of-the-box.
For more information and documentation, see:
For issue tracking:
- Pyjs-Compiler tools are a collection of tools that related to
- to convert java to python, etc.
Pyjs-Widgets are a collection of GUI widget libraris that can be run natively as part of Pyjs-Native or compiled by Pyjs-Compiler to run in a browser.
All ports of Pyjs-Desktop require a JSON library: simplejson is recommended if the version of python is 2.5 or less. Python 2.6 and above come with a json library installed by default.
Install hulahop and python-xpcom. Hulahop, from OLPC SugarLabs, is distributed with both Debian and Ubuntu; python-xpcom is part of XULRunner and is also distributed with both Debian and Ubuntu. Other users should investigate the installation instructions for python-xpcom and hulahop for the operating system of their choice on the appropriate web sites.
Older versions of XULRunner must be used: versions 1.9.0 or 1.9.1 are known to be suitable, as is version 9.0. Versions 10 and above are known to segfault.
GIWebKit (GObject Introspection)
A 95% functional binding enabled via the dynamic GObject/Python bindings produced by https://wiki.gnome.org/GObjectIntrospection after scanning the annotated WebKit sources. This backend is missing a critical piece, window.addEventListener, from https://bugs.webkit.org/show_bug.cgi?id=77835 but development is in progress to implement the missing binding via ctypes instead, due to a lack of interest by WebKit.
This is intended to supercede XULRunner as the default on Linux once ready.
GIWebKit must be explicitly enabled. create a $HOME/.pyjd/pyjdrc file containing the following two lines:
For Windows users, all that's required, other than installing python and Internet Explorer, is one further tiny package: Win32 "comtypes".
Win32 "comtypes" can be downloaded here: * http://sourceforge.net/projects/comtypes/
Unlike the other ports, which can comprise a whopping great bundle of anything up to 30mb in size, the MSHTML port literally requires nothing more than comtypes, thanks to the far-sighted design of the MSHTML Trident Engine and its extensive COM interface.
- virtualenv - a python toolset that allows multiple python sandox installations
- pip - an alternative to the standard python installation tools
Download and unzip/untar the pyjs.tar.gz file
- Change into the pyjs root directory
Optional step to create your own virtual python sandbox for development purposes virtualenv mypython
- This will create a mypython directory and install sandboxed virtual python installation at
- Install Pyjs-Tools, Pyjs-Pyjamas and all dependencies
<pyjsroot>/mypython/bin/pip install <pyjsroot>
OR the following if you want to develop and modify Pyjs-Compiler or Pyjs-Widgets themselves
<pyjsroot>/mypython/bin/pip install -e <pyjsroot>
<pyjsroot>/mypython/bin/pyjscompile <pyjsroot>/mypython/bin/pyjsbuild <pyjsroot>/mypython/bin/pyjampiler