Package mopowg :: Module release
[hide private]
[frames] | no frames]

Source Code for Module mopowg.release

 1  version = "0.2.1" 
 2  author = "Fred Lin" 
 3  email = "gasolin@gmail.com" 
 4  copyright = "Copyright 2007 Fred Lin and contributors" 
 5  license = "MIT <http://www.opensource.org/licenses/mit-license.php>" 
 6  description="Doc generator with styles, and syntax highlighting blocks" 
 7  long_description = """mopowg is an easy to install, cross-platform doc generator which is based on docutils. 
 8   
 9  mopowg could generate full documents with figures, styles, and syntax highlighting blocks. 
10   
11  It includes a command line tool and will provide the web front-end. 
12   
13  Install mopowg 
14  -------------- 
15   
16  You could use easy_install command to install mopowg:: 
17   
18   
19      $ easy_install mopowg 
20   
21  or you could install mopowg from sourse 
22   
23  First download the source:: 
24   
25      $ hg clone http://hg.python.org.tw/mopowg 
26   
27  then:: 
28   
29      $ python setup.py install 
30   
31  Usage 
32  ----- 
33   
34  Run as a command 
35  ---------------- 
36   
37  :: 
38   
39    $ mopowg -i docs 
40   
41  Run as a single file 
42  -------------------- 
43   
44  You could embeded mopowg into your project with a single file. 
45   
46  put mopowg.py to a document folder. run mopowg.py:: 
47   
48   
49      $ python mopowg.py -i docs 
50       
51  Run as a module 
52  --------------- 
53   
54  You could import mopowg module in your program:: 
55   
56      import os 
57      from mopowg import mopowg 
58   
59      path = os.path.join(os.getcwd(), 'docs') 
60      ld = mopowg.scanner(path) 
61      mopowg.generator(input=ld) 
62   
63  """ 
64