Skip to content

Commit 4b78c08

Browse files
committed
Redirect all changelogs to one location.
1 parent eafb423 commit 4b78c08

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ For the most part it's just::
5252
* Windows, Linux, or MacOS X 10.9+.
5353
* On Linux, requires libsdl2 (2.0.5+).
5454

55+
===========
56+
Changelog
57+
===========
58+
59+
You can find the most recent changelog
60+
`here <https://github.com/libtcod/python-tcod/blob/develop/CHANGELOG.rst>`_.
61+
5562
=========
5663
License
5764
=========

docs/changelog.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
.. include:: ../CHANGELOG.rst
1+
===========
2+
Changelog
3+
===========
4+
5+
You can find the most recent changelog
6+
`here <https://github.com/libtcod/python-tcod/blob/develop/CHANGELOG.rst>`_.

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,7 @@ def get_package_data():
7777
def get_long_description():
7878
"""Return this projects description."""
7979
with open("README.rst", "r") as f:
80-
readme = f.read()
81-
with open("CHANGELOG.rst", "r") as f:
82-
changelog = f.read()
83-
changelog = changelog.replace("\nUnreleased\n------------------", "")
84-
return "\n".join([readme, changelog])
80+
return f.read()
8581

8682

8783
def check_sdl_version():

0 commit comments

Comments
 (0)