Bazaar doc and sphinx: how customizations are done?

Dedeco dedeco at ufmg.br
Fri Jan 11 18:55:01 UTC 2013


>> from bzrlib.doc_generate.conf import *
> $ python
> import bzrlib.doc_generate.conf
> print(conf.__file__)
>
> should get you close.
>
> If its a package, you'll also want
> print(conf.__path__)
These command gives errors. But they were close enough, thanks! :)

$ python
Python 2.7.1+ (r271:86832, Sep 27 2012, 21:16:52)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import bzrlib.doc_generate.conf
 >>> print(conf.__file__)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
NameError: name 'conf' is not defined
 >>> print(bzrlib.doc_generate.conf)
<module 'bzrlib.doc_generate.conf' from 
'/usr/lib/python2.7/dist-packages/bzrlib/doc_generate/conf.pyc'>
 >>>

Now I'm reading the above file. It seems that what I look for is yet in 
another file...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20130111/7c48f0c7/attachment.html>


More information about the bazaar mailing list