Skip to content

Commit 06ca2c5

Browse files
committed
Update changelog to include in package description
1 parent bde4325 commit 06ca2c5

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

HISTORY.rst

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
=========
2-
Changelog
3-
=========
1+
.. :changelog:
2+
3+
Release history
4+
===============
45

56
0.3.1
6-
=====
7+
-----
78

89
* Fix how empty responses are handled
910

1011
0.3.0
11-
=====
12+
-----
1213

1314
* Added method to unsuspend suspended user
1415

1516
0.2.0
16-
=====
17+
-----
1718

1819
* Inital fork, including gberaudo's changes
1920
* Packaging cleanup, dropping Python 2.6 support and adding Python 3.5, PyPy,
2021
PyPy3
2122
* Packaging on PyPI
2223

2324
0.1.0.dev
24-
=========
25+
---------
2526

2627
All pre-PyPI development
2728

MANIFEST.in

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include setup.py
2+
include README.rst
3+
include MANIFEST.in
4+
include HISTORY.rst
5+
include LICENSE
6+
recursive-include pydiscourse

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33

44
README = open('README.rst').read()
5+
HISTORY = open('HISTORY.rst').read().replace('.. :changelog:', '')
56

67
with open("pydiscourse/__init__.py", "r") as module_file:
78
for line in module_file:
@@ -14,7 +15,7 @@
1415
name="pydiscourse",
1516
version=VERSION,
1617
description="A Python library for the Discourse API",
17-
long_description=README,
18+
long_description=README + '\n\n' + HISTORY,
1819
author="Marc Sibson and contributors",
1920
author_email="[email protected]",
2021
license="BSD",

0 commit comments

Comments
 (0)