add the changelog to the text on PyPI

This commit is contained in:
Alexis Métaireau 2012-12-04 01:53:52 +01:00
commit 625afa0621
2 changed files with 8 additions and 3 deletions

View file

@ -1,6 +1,6 @@
include *.rst include *.rst
global-include *.py global-include *.py
recursive-include pelican *.html *.css *png *.in recursive-include pelican *.html *.css *png *.in
include LICENSE THANKS include LICENSE THANKS docs/changelog.rst
recursive-include tests * recursive-include tests *
recursive-exclude tests *.pyc recursive-exclude tests *.pyc

View file

@ -18,15 +18,20 @@ entry_points = {
] ]
} }
README = open('README.rst').read()
CHANGELOG = open('docs/changelog.rst').read()
setup( setup(
name="pelican", name="pelican",
version="3.2", version="3.2",
url='http://getpelican.com/', url='http://getpelican.com/',
author='Alexis Metaireau', author='Alexis Metaireau',
author_email='authors@getpelican.com', author_email='authors@getpelican.com',
description="A tool to generate a static blog from reStructuredText or "\ description="A tool to generate a static blog from reStructuredText or "
"Markdown input files.", "Markdown input files.",
long_description=open('README.rst').read(), long_description=README + '\n' + CHANGELOG,
packages=['pelican', 'pelican.tools', 'pelican.plugins'], packages=['pelican', 'pelican.tools', 'pelican.plugins'],
include_package_data=True, include_package_data=True,
install_requires=requires, install_requires=requires,