0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
cpython/Tools/modulator
2008-05-16 17:02:34 +00:00
..
Templates Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
EXAMPLE.py
genmodule.py More 2to3 fixes in the Tools directory. Fixes #2893. 2008-05-16 17:02:34 +00:00
modulator.py More 2to3 fixes in the Tools directory. Fixes #2893. 2008-05-16 17:02:34 +00:00
README
ScrolledListbox.py More 2to3 fixes in the Tools directory. Fixes #2893. 2008-05-16 17:02:34 +00:00
Tkextra.py Merged revisions 60990-61002 via svnmerge from 2008-02-23 18:30:17 +00:00
varsubst.py More 2to3 fixes in the Tools directory. Fixes #2893. 2008-05-16 17:02:34 +00:00

This is release 1.2 of modulator, a generator of boilerplate code for
modules to be written in C.

Difference between 1.2 and 1.1: __doc__ templates are now generated
(thanks to Jim Fulton).

Difference between 1.1 and 1.0: the templates now use "new-style"
naming conventions. Many thanks to Chak Tan <tan@ee.rochester.edu> for
supplying them.

Usage when you have tk is *really* simple: start modulator, fill out
the forms specifying all the objects and methods, tell modulator
whether objects should also be accessible as sequences, etc and press
'generate code'. It will write a complete skeleton module for you.

Usage when you don't have tk is slightly more difficult. Look at
EXAMPLE.py for some details (to run, use "python EXAMPLE.py").  Don't
bother with EXAMPLE.py if you have Tkinter!!!

Oh yeah: you'll probably want to change Templates/copyright, or all
your code ends up as being copyrighted to CWI:-)

Let me know what you think,
				Jack Jansen, jack@cwi.nl