#2191: Add `__version__` attribute to tg
------------------------+---------------------------------------------------
 Reporter:  pitrou      |       Owner:  faide
     Type:  defect      |      Status:  new  
 Priority:  normal      |   Milestone:  2.0b6
Component:  TurboGears  |     Version:  trunk
 Severity:  trivial     |    Keywords:       
------------------------+---------------------------------------------------
 It is common practice to define a `__version__` attribute in packaged or
 modules, but turbogears doesn't:

 {{{
 >>> import tg
 >>> tg.__file__
 '/usr/lib/python2.5/site-
 packages/TurboGears2-2.0b5.1-py2.5.egg/tg/__init__.pyc'
 >>> tg.__version__
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 AttributeError: 'module' object has no attribute '__version__'
 }}}

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2191>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to