add version information in __init__.py and import them from setup.py

and conf.py
This commit is contained in:
Andrea Crotti 2012-03-16 14:27:26 +00:00
commit 74c2449d8f
3 changed files with 9 additions and 5 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python
from setuptools import setup
VERSION = "3.0" # find a better way to do so.
from pelican import __version__
requires = ['feedgenerator', 'jinja2', 'pygments', 'docutils', 'pytz']
@ -21,7 +21,7 @@ entry_points = {
setup(
name = "pelican",
version = VERSION,
version = __version__,
url = 'http://pelican.notmyidea.org/',
author = 'Alexis Metaireau',
author_email = 'alexis@notmyidea.org',