There is now a graphical user interface front-end for generateDS.py. You will need PyGTK installed in order to use it.
Why did I do this? I wanted to learn how to use Glade and PyGTK, but I also wanted to make generateDS.py a bit easier to use. generateds_gui.py is not particularly elegant, but does seem reasonably functional. You can find the new version here: http://pypi.python.org/pypi/generateDS/1.20a http://www.rexx.com/~dkuhlman/generateDS-1.20a.tar.gz http://sourceforge.net/projects/generateds/ If you try it, let me know about any problems, and please send me your suggestions, questions, comments, etc. Below is a bit more info. It's the section that I've added to the generateDS.py doc. - Dave ============================================================== The graphical user interface -- How to use it ============================================================== Here are a few notes on how to use the GUI front-end. - ``generateds_gui.py`` is installed when you do the standard installation:: $ python setup.py install - Run it by typing the following at the command line:: $ generateds_gui.py - For help with command line options, run:: $ generateds_gui.py --help - For a description of the values and flags that you can set, see section `Running generateDS.py`_. There are also tool tips on the various widgets in the graphical user interface. - Generate the python bindings modules by using the ``Tools/Generate`` menu item or the ``Generate`` button at the bottom of the window. - Capture the command line generated by using the ``Tools/Capture command line`` menu item. You might consider copying and pasting that command line into a shell script or batch file for repeated reuse. - You can also save and later reload your values and flags in a session file. See the ``Save session``, ``Save session as``, and ``Load session`` items under the ``File`` menu. By default, a session file has the extension ".session". - You can load a session on start-up with the "-s" or "--session" comand line options. For example:: $ generateds_gui.py --session=mybindingsjob.session Or, use the "session" option in a configuration file. - If the command to be run when generating bindings is not standard, you can specify that command with the "--exec-path" command line option or with the "exec-path" option configuration file. The default is "generateDS.py". - Command line options can also be specified in a configuration file. ``generateds_gui.py`` checks for that configuration file in the following locations in this order: 1. ``~/.generateds_gui.ini`` 2. ``./generateds_gui.ini`` Here is a sample configuration file:: [general] exec-path: /usr/bin/python ~/bin/generateDS.py impl-path: generateds_gui.glade session: a1.session Options on the command line override options in configuration files. ============================================================== -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users