User Tools

Site Tools


wiki:development:build-howto-mswin:pyhoca-gui

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:development:build-howto-mswin:pyhoca-gui [2013/09/25 07:58]
sunweaver
wiki:development:build-howto-mswin:pyhoca-gui [2014/07/06 17:10]
mikedep333 [Downloading Software Packages] add python-requests (Fixes: #531)
Line 10: Line 10:
  
   * python 2.7       http://www.python.org   * python 2.7       http://www.python.org
-  * tortoisegit      http://msysgit.github.io/+  * Msysgit          http://msysgit.github.io/
   * easyinstall      http://pypi.python.org/pypi/setuptools#files   * easyinstall      http://pypi.python.org/pypi/setuptools#files
   * putty            http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html   * putty            http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
-  * NSIS Setup Tool  http://nsis.sourceforge.net/Download+  * Unicode NSIS     http://www.scratchpaper.com/
   * Notepad2         http://www.flos-freeware.ch/notepad2.html (the editor we recommend for editing python files)   * Notepad2         http://www.flos-freeware.ch/notepad2.html (the editor we recommend for editing python files)
  
 The follow libraries are used The follow libraries are used
-  * wxpython 2.    http://www.wxpython.org+  * wxpython 3.    http://www.wxpython.org
   * greenlet         http://www.lfd.uci.edu/~gohlke/pythonlibs   * greenlet         http://www.lfd.uci.edu/~gohlke/pythonlibs
-  * gevent           [[http://code.google.com/p/gevent/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount|http://code.google.com/p/gevent/downloads/list]]+  * gevent 1.0rc3          https://github.com/surfly/gevent/releases
   * gmpy             http://www.lfd.uci.edu/~gohlke/pythonlibs   * gmpy             http://www.lfd.uci.edu/~gohlke/pythonlibs
   * pycrypto         http://www.voidspace.org.uk/python/modules.shtml#pycrypto   * pycrypto         http://www.voidspace.org.uk/python/modules.shtml#pycrypto
Line 25: Line 25:
   * paramiko         c:\Python27\Scripts\easy_install --always-unzip paramiko   * paramiko         c:\Python27\Scripts\easy_install --always-unzip paramiko
   * wmi              c:\Python27\Scripts\easy_install --always-unzip wmi   * wmi              c:\Python27\Scripts\easy_install --always-unzip wmi
 +  * python-requests  c:\Python27\Scripts\easy_install --always-unzip requests  
 +
 +<note>gevent 1.0rc3 is currently specified because is is the last gevent release with a windows installer.</note>
  
 PyHoca-GUI uses one of the below freezers (i.e. tools to generate a pyhoca-gui.exe plus programme/data folder): PyHoca-GUI uses one of the below freezers (i.e. tools to generate a pyhoca-gui.exe plus programme/data folder):
Line 31: Line 34:
   * py2exe             http://sourceforge.net/projects/py2exe/   * py2exe             http://sourceforge.net/projects/py2exe/
  
-(easy install should be executed from the windows commandline!)+<note>easy install should be executed from the windows commandline!</note>
  
 +<note important>There is an issue with MediaWiki and how double dashes are rendered. For now, do not copy and paste the arguments for paramiko and wmi. Type them manually. You need 2 dashes before "always" and 1 dash before "unzip"</note>
 ==== Obtaining an X-Server for Windows (optional) ==== ==== Obtaining an X-Server for Windows (optional) ====
  
Line 67: Line 71:
  
 <code bash> <code bash>
-$ cd python-x2go && python setup.py install && cd -+$ cd python-x2go && python setup.py install_lib && python setup.py install && cd -
 </code> </code>
  
-If you want to install a special version of Python X2Go, use '''git-checkout'' to get a specific version:+If you want to install a special version of Python X2Go, use '''git checkout'' to get a specific version:
  
 <code bash> <code bash>
Line 80: Line 84:
 ==== Choosing the PyHoca-GUI Version ==== ==== Choosing the PyHoca-GUI Version ====
  
-Before testing/building PyHoca-GUI, you may want to choose the version of PyHoca-GUI to use, use '''git checkout'' to get a specific version:+Before testing/building PyHoca-GUI, you may want to choose the version of PyHoca-GUI to use, use ''git checkout'' to get a specific version:
  
 <code bash> <code bash>
Line 87: Line 91:
  
 A list of available versions can be listed with ''git tag'' executed in the ''pyhoca-gui'' directory. A list of available versions can be listed with ''git tag'' executed in the ''pyhoca-gui'' directory.
 +
 +If you want to test/build bleeding edge code,  build PyHoca-GUI from the master branch.
 +
 +As the development of PyHoca-GUI is closely entangled with the development of Python X2Go, for bleeding edge code it is recommended to use the master branches of both projects.
 +
 +<code bash>
 +$ cd python-x2go && git checkout master && cd -
 +$ cd python-x2go && python setup.py install_lib && python setup.py install && cd -
 +$ cd pyhoca-gui && git checkout master && cd -
 +</code>
  
  
wiki/development/build-howto-mswin/pyhoca-gui.txt ยท Last modified: 2015/01/24 13:59 by mikedep333