Guide:Mod Organizer/Python Plugins: Difference between revisions

From Step Mods | Change The Game
Line 5: Line 5:


==requirements==
==requirements==
* python 2.7 programming language: http://www.python.org/download/releases/2.7.6/
* MS Windows ^^
** [http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi 32Bit direct link]
* python 2.7 programming language (32 Bit): http://www.python.org/download/releases/2.7.6/
** [http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi direct link]


===requirements for  user interface (optional)===
===requirements for  user interface (optional)===
Line 15: Line 16:
** an IDE (like VisualC, MinGw) is not necessary for this purpose and can be skipped during install
** an IDE (like VisualC, MinGw) is not necessary for this purpose and can be skipped during install
* [http://www.riverbankcomputing.com/software/pyqt/download PyQt4] - dev files for Qt usage in python 2.7
* [http://www.riverbankcomputing.com/software/pyqt/download PyQt4] - dev files for Qt usage in python 2.7
** [http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10.3/PyQt4-4.10.3-gpl-Py2.7-Qt4.8.5-x32.exe 32Bit direct link]
** [http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10.3/PyQt4-4.10.3-gpl-Py2.7-Qt4.8.5-x32.exe direct link]


PyQt4 comes with '''pyuic'''
PyQt4 comes with '''pyuic'''
Line 23: Line 24:


  pyuic.py YOURDESIGN.ui
  pyuic.py YOURDESIGN.ui


==Installation==
==Installation==

Revision as of 14:36, December 22, 2013

How to add Python plugins to Mod Organizer

requirements

requirements for user interface (optional)

If you don't want to edit any user interfaces you'll probably won't need it.

PyQt4 comes with pyuic

Location: Python27\Lib\site-packages\PyQt4\uic\pyuic.py 

it generates .py commands from a Qt4 .ui file:

pyuic.py YOURDESIGN.ui

Installation

  • install SIP
  • install PyQt4