annotate Tools/modulator/README @ 58925:eecf1bef052d 2.6

Merged revisions 78207 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line #7930: fix stripid ........
author Ezio Melotti <ezio.melotti@gmail.com>
date Tue, 16 Feb 2010 23:29:44 +0000
parents 5539aebf8938
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2755
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
1 This is release 1.2 of modulator, a generator of boilerplate code for
2466
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 modules to be written in C.
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
3
2755
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
4 Difference between 1.2 and 1.1: __doc__ templates are now generated
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
5 (thanks to Jim Fulton).
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
6
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
7 Difference between 1.1 and 1.0: the templates now use "new-style"
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
8 naming conventions. Many thanks to Chak Tan <tan@ee.rochester.edu> for
4389a60fedce Updated
Jack Jansen <jack.jansen@cwi.nl>
parents: 2713
diff changeset
9 supplying them.
2713
cd9d86ecc175 Templates converted to new naming conventions (thanks to Chak Tan)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2466
diff changeset
10
cd9d86ecc175 Templates converted to new naming conventions (thanks to Chak Tan)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2466
diff changeset
11 Usage when you have tk is *really* simple: start modulator, fill out
2466
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 the forms specifying all the objects and methods, tell modulator
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 whether objects should also be accessible as sequences, etc and press
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 'generate code'. It will write a complete skeleton module for you.
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
15
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 Usage when you don't have tk is slightly more difficult. Look at
10182
5539aebf8938 Clarify how EXAMPLE.py is to be used ("python EXAMPLE.py", not
Guido van Rossum <guido@python.org>
parents: 2755
diff changeset
17 EXAMPLE.py for some details (to run, use "python EXAMPLE.py"). Don't
5539aebf8938 Clarify how EXAMPLE.py is to be used ("python EXAMPLE.py", not
Guido van Rossum <guido@python.org>
parents: 2755
diff changeset
18 bother with EXAMPLE.py if you have Tkinter!!!
2466
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
19
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 Oh yeah: you'll probably want to change Templates/copyright, or all
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
21 your code ends up as being copyrighted to CWI:-)
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
22
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 Let me know what you think,
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 Jack Jansen, jack@cwi.nl
322fc596f1c4 checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff changeset
25