~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/gameengine/PyDoc/SConscript

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
Import ('env')
 
3
 
 
4
 
 
5
from optparse import OptionParser
 
6
try:
 
7
    import epydoc
 
8
except ImportError:
 
9
    print "No epydoc install detected, Python API Docs will not be generated "
 
10
if epydoc:
 
11
    from epydoc.docbuilder import build_doc_index
 
12
    from epydoc import cli
 
13
    names = env.Glob("source/gameengine/PyDoc/*.py")
 
14
    docindex = build_doc_index(names)
 
15
    optvalues = cli.OPTION_DEFAULTS
 
16
    optvalues["verbose"] = 1
 
17
    optvalues["target"] = env["BF_DOCDIR"]+"/BGE_API/"
 
18
    optvalues["url"] = "http://www.blender.org"
 
19
    optvalues["top"] = "Game Engine API"
 
20
    optvalues["name"] = "Blender"
 
21
    optvalues["noprivate"] = 1
 
22
    optvalues["noframes"] = 1
 
23
    optvalues["names"] = names
 
24
    optparser = OptionParser()
 
25
    optparser.set_defaults(**optvalues)
 
26
    (options, args) = optparser.parse_args()
 
27
    cli.write_html(docindex, options)
 
28