[X2Go-Commits] page changed: wiki:development:build-howto-mswin:pyhoca-gui
wiki-admin at x2go.org
wiki-admin at x2go.org
Sun Apr 21 01:11:43 CEST 2013
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/04/20 23:11
Browser : Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Iceweasel/18.0.1
IP-Address : 46.142.180.176
Hostname : 176-180-142-46.pool.kielnet.net
Old Revision: http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:pyhoca-gui?rev=1366498766
New Revision: http://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:pyhoca-gui
Edit Summary:
User : sunweaver
@@ -2,8 +2,12 @@
To make development of pyhoca possible, you need several tools.
Pyhoca is written in python and the gui is written in wxpython. Currently due to problems with the winrandom package, it is only possible to generate a 32 bit version of pyhoca. When installing, please keep the order given here
+
+ ===== System Preparations =====
+
+ ==== Downloading Software Packages ====
* python 2.7 http://www.python.org
* tortoisegit
http://msysgit.github.io/
* easyinstall http://pypi.python.org/pypi/setuptools#files
@@ -17,35 +21,74 @@
* pycrypto http://www.voidspace.org.uk/python/modules.shtml#pycrypto
* win32api http://sourceforge.net/projects/pywin32/files/pywin32/
* paramiko c:\Python27\Scripts\easy_install paramiko
* wmi c:\Python27\Scripts\easy_install wmi
+ * py2exe http://sourceforge.net/projects/py2exe/
(easy install should be executed from the windows commandline!)
+
+ ==== Obtaining an X-Server for Windows (optional) ====
One of the following X-servers (actually VcXsrv is your way to go here!!! However, its core files are included in pyhoca-contrib.git, see below).
* vcxsrv http://sourceforge.net/projects/vcxsrv/files/latest/download
* xming http://sourceforge.net/projects/xming/files/latest/download
* cygwin/X http://www.cygwin.com/setup.exe
+
+ ==== Cloning the PyHoca
related Git repositories ====
After installation download the current code base by starting the git-bash shell and type
* %%git clone git://code.x2go.org/python-x2go.git%%
* %%git clone git://code.x2go.org/pyhoca-gui.git%%
* %%git clone git://code.x2go.org/pyhoca-contrib.git%%
This can best be done in the MingW32 shell that comes with the Git package. Note that pyhoca-contrib contains all complete packages and therefor is about 500 MB.
+
+ ===== Test-Running PyHoca =====
+
+ ==== Adding Python to $PATH ====
After having all installers download and installs and the Git working copies are in place, make sure the Git Bash has the python shell in its $PATH:
<code bash>
# presuming that you installed Python 2.7 to C:\Python27
PATH=$PATH:/c/Python27
</code>
+
+ ==== Installing Python X2Go ====
Then make sure that Python X2Go is properly installed in a non-egg'ish way:
<code bash>
$ cd python-x2go && python setup.py install && cd -
+
</code>
+
+ If you want to install a special version of Python X2Go, use '''git-checkout'' to get a specific version:
+
+ <code bash>
+ $ cd python-x2go && git checkout <the-version-you-want> && cd -
+ </code bash>
+
+ A list of available versions can be listed with ''git tag'' executed in the ''python-x2go'' directory.
+
+ ==== Launching PyHoca-GUI from the Cmdline ====
+
+ A test launch of PyHoca-GUI can now be done with this command:
+
+ <code bash>
+ $ cd pyhoca-gui
+ $ ./pyhoca-gui --start-xserver --lang=<your-lang-shortcut>
+ </code>
+
+ (... where <your-lang-shortcut> can be de, nl, dk, etc.). If the ''--lang'' parameter is omitted, the application will run in English.
+
+ ===== Building the Windows Installer Setup =====
+
+ To build a MS Windows Installer (32-bit) of PyHoca-GUI, run the following command:
+
+ <code bash>
+ $ cd pyhoca-gui
+ $ python setup.py build_exe
</code>
--
This mail was generated by DokuWiki at
http://wiki.x2go.org/
More information about the x2go-commits
mailing list