id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 11895,Use package info in documentation configuration file,Ryan J Ollos,Ryan J Ollos,"The documentation configuration file, [browser:/tags/trac-1.0.2/doc/conf.py], contains some constants that need to be updated with every release: TracDev/ReleaseChecklist@52. The info could be pulled retrieved from the package: {{{#!pycon Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type ""help"", ""copyright"", ""credits"" or ""license"" for more information. >>> import sys >>> from trac.util import get_pkginfo >>> pkg_info = get_pkginfo(sys.modules['trac']) >>> print pkg_info {'description': ' Trac is a minimalistic web-based software project management and bug/issue\n tracking system. It provides an interface to the Subversion revision control\n systems, an integrated wiki, flexible issue tracking and convenient report\n facilities.\n ', 'license': 'BSD', 'author': 'Edgewall Software', 'author_email': 'trac-dev@googlegroups.com', 'summary': 'Integrated SCM, wiki, issue tracker and project environment', 'home_page': 'http://trac.edgewall.org/', 'version': '1.1.3dev-r13575'} }}}",enhancement,closed,normal,1.0.4,general,,normal,fixed,apidoc,,,"Package info is used in !ApiDocs generator configuration file to populate the version, configuration and svn revision.",,