Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 413cfd5d0b40302b007e44a43b5ba010a5311a2d 1 parent 41614fe
@erikrose erikrose authored
Showing with 8 additions and 1 deletion.
  1. +1 −0  README.rst
  2. +7 −1 setup.py
View
1  README.rst
@@ -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
8 setup.py
@@ -1,3 +1,5 @@
+import re
+
from setuptools import setup, find_packages
@@ -5,7 +7,11 @@
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',
Please sign in to comment.
Something went wrong with that request. Please try again.