Permalink
Browse files

Teach setup.py how to put version history into the readme.

  • Loading branch information...
erikrose committed Jul 18, 2011
1 parent 41614fe commit 413cfd5d0b40302b007e44a43b5ba010a5311a2d
Showing with 8 additions and 1 deletion.
  1. +1 −0 README.rst
  2. +7 −1 setup.py
View
@@ -15,3 +15,4 @@ installations. Its features include...
* Hook points for customizing any page drawn and any email sent
Please see the full documentation at http://packages.python.org/django-tidings/
+
View
@@ -1,11 +1,17 @@
+import re
+
from setuptools import setup, find_packages
setup(
name='django-tidings',
version='0.3',
description='Framework for asynchronous email notifications from Django',
- long_description=open('README.rst').read(),
+ long_description=open('README.rst').read() + \
+ # Hack symbol names out of Sphinx directives:
+ re.sub(r':[a-zA-Z]+:`[0-9a-zA-Z~_\.]+\.([^`]+)`',
+ r'``\1``',
+ open('docs/changes.rst').read()),
author='Erik Rose',
author_email='erik@mozilla.com',
license='BSD',

0 comments on commit 413cfd5

Please sign in to comment.