Update changelog to include in package description

This commit is contained in:
Ben Lopatin
2016-04-11 11:36:25 -04:00
parent bde4325776
commit 06ca2c5a58
3 changed files with 16 additions and 8 deletions
+8 -7
View File
@@ -1,19 +1,20 @@
=========
Changelog
=========
.. :changelog:
Release history
===============
0.3.1
=====
-----
* Fix how empty responses are handled
0.3.0
=====
-----
* Added method to unsuspend suspended user
0.2.0
=====
-----
* Inital fork, including gberaudo's changes
* Packaging cleanup, dropping Python 2.6 support and adding Python 3.5, PyPy,
@@ -21,7 +22,7 @@ Changelog
* Packaging on PyPI
0.1.0.dev
=========
---------
All pre-PyPI development
+6
View File
@@ -0,0 +1,6 @@
include setup.py
include README.rst
include MANIFEST.in
include HISTORY.rst
include LICENSE
recursive-include pydiscourse
+2 -1
View File
@@ -2,6 +2,7 @@ from setuptools import setup, find_packages
README = open('README.rst').read()
HISTORY = open('HISTORY.rst').read().replace('.. :changelog:', '')
with open("pydiscourse/__init__.py", "r") as module_file:
for line in module_file:
@@ -14,7 +15,7 @@ setup(
name="pydiscourse",
version=VERSION,
description="A Python library for the Discourse API",
long_description=README,
long_description=README + '\n\n' + HISTORY,
author="Marc Sibson and contributors",
author_email="ben+pydiscourse@benlopatin.com",
license="BSD",