Skip to content

Commit

Permalink
Fixing issue with missing changes and readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenlucas committed May 24, 2015
1 parent 3468a9a commit c93114d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.2 (2015-05-23)
---------------

- Ensure we can build when CHANGES.txt and README.rst cannot be found by
setup.py.


0.1 (2014-11-22)
----------------

Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except:
README = ''
CHANGES = ''

requires = [
'pyramid',
Expand Down

0 comments on commit c93114d

Please sign in to comment.