File: __init__.py

package info (click to toggle)
python-django-debug-toolbar 1%3A0%2Bgit201107220111-96e46c6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,300 kB
  • sloc: python: 3,857; makefile: 34
file content (7 lines) | stat: -rw-r--r-- 176 bytes parent folder | download
1
2
3
4
5
6
7
__all__ = ('VERSION',)

try:
    VERSION = __import__('pkg_resources') \
        .get_distribution('django-debug-toolbar').version
except Exception, e:
    VERSION = 'unknown'