setup.py version should inherit from __init.py__

This commit is contained in:
Justin Mayer 2014-07-01 13:33:24 -07:00
commit 7e516cb7b0

View file

@ -1,5 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
from setuptools import setup from setuptools import setup
from pelican import __version__
requires = ['feedgenerator >= 1.6', 'jinja2 >= 2.7', 'pygments', 'docutils', requires = ['feedgenerator >= 1.6', 'jinja2 >= 2.7', 'pygments', 'docutils',
'pytz >= 0a', 'blinker', 'unidecode', 'six >= 1.4', 'pytz >= 0a', 'blinker', 'unidecode', 'six >= 1.4',
@ -21,7 +22,7 @@ CHANGELOG = open('docs/changelog.rst').read()
setup( setup(
name="pelican", name="pelican",
version="3.3", version=__version__,
url='http://getpelican.com/', url='http://getpelican.com/',
author='Alexis Metaireau', author='Alexis Metaireau',
author_email='authors@getpelican.com', author_email='authors@getpelican.com',
@ -41,6 +42,7 @@ setup(
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
], ],