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

@ -11,7 +11,9 @@ from pelican.utils import clean_output_dir, files_changed
from pelican.writers import Writer
from pelican import log
__version__ = "3.0"
__major__ = 3
__minor__ = 0
__version__ = "{0}.{1}".format(__major__, __minor__)
class Pelican(object):