Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
Make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Oct 19, 2016
1 parent 971aeed commit 2cd9902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

HERE = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(HERE, 'README.rst')).read()
# Remove syntax highighting for pypi
README = re.sub(r'.. sourcecode.*', '::', README)
CHANGES = open(os.path.join(HERE, 'CHANGES.rst')).read()
# Remove custom RST extensions for pypi
CHANGES = re.sub(r'\(\s*:(issue|pr|sha):.*?\)', '', CHANGES)
Expand Down

0 comments on commit 2cd9902

Please sign in to comment.