~ubuntu-branches/ubuntu/maverick/python3.1/maverick

« back to all changes in this revision

Viewing changes to Tools/modulator/README

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-03-23 00:01:27 UTC
  • Revision ID: james.westby@ubuntu.com-20090323000127-5fstfxju4ufrhthq
Tags: upstream-3.1~a1+20090322
ImportĀ upstreamĀ versionĀ 3.1~a1+20090322

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This is release 1.2 of modulator, a generator of boilerplate code for
 
2
modules to be written in C.
 
3
 
 
4
Difference between 1.2 and 1.1: __doc__ templates are now generated
 
5
(thanks to Jim Fulton).
 
6
 
 
7
Difference between 1.1 and 1.0: the templates now use "new-style"
 
8
naming conventions. Many thanks to Chak Tan <tan@ee.rochester.edu> for
 
9
supplying them.
 
10
 
 
11
Usage when you have tk is *really* simple: start modulator, fill out
 
12
the forms specifying all the objects and methods, tell modulator
 
13
whether objects should also be accessible as sequences, etc and press
 
14
'generate code'. It will write a complete skeleton module for you.
 
15
 
 
16
Usage when you don't have tk is slightly more difficult. Look at
 
17
EXAMPLE.py for some details (to run, use "python EXAMPLE.py").  Don't
 
18
bother with EXAMPLE.py if you have Tkinter!!!
 
19
 
 
20
Oh yeah: you'll probably want to change Templates/copyright, or all
 
21
your code ends up as being copyrighted to CWI:-)
 
22
 
 
23
Let me know what you think,
 
24
                                Jack Jansen, jack@cwi.nl
 
25