Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

protect against weirdness

  • Loading branch information...
commit 7bb2ff592309bd83e4b85c8eeb68405476933bc6 1 parent 52cface
@mcdonc mcdonc authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 setup.py
View
8 setup.py
@@ -19,8 +19,12 @@
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.txt')).read()
-CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
+try:
+ README = open(os.path.join(here, 'README.txt')).read()
+ CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
+except IOError:
+ README = ''
+ CHANGES = ''
setup(name='pyramid_xmlrpc',
version=__version__,
Please sign in to comment.
Something went wrong with that request. Please try again.