pydoctor: Specify --project-name.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 6 Mar 2012 22:21:44 +0000 (23:21 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 10 Mar 2012 20:31:53 +0000 (21:31 +0100)
wscript

diff --git a/wscript b/wscript
index 96df563..8945c78 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -151,7 +151,7 @@ def build(bld):
 
 def pydoctor(ctx):
     '''build python apidocs'''
-    cmd='PYTHONPATH=bin/python pydoctor --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package bin/python/samba'
+    cmd='PYTHONPATH=%s pydoctor --introspect-c-modules --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package bin/python/samba' % os.path.abspath('bin/python')
     print("Running: %s" % cmd)
     os.system(cmd)