diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-12-13 19:50:31 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-12-13 19:50:31 +0000 |
| commit | 357b4023b9f4b1d2f3a9f51049abaa89f387321c (patch) | |
| tree | 8a288e8f8e98063629c2a085f826776ffc15e565 /setup.py | |
| parent | c2fc28f7af8842d20321b44f9e1be76428d75c78 (diff) | |
| download | pyramid-357b4023b9f4b1d2f3a9f51049abaa89f387321c.tar.gz pyramid-357b4023b9f4b1d2f3a9f51049abaa89f387321c.tar.bz2 pyramid-357b4023b9f4b1d2f3a9f51049abaa89f387321c.zip | |
Fix bug reported by jpenney when attempting to run tests under buildout-generated environment.
See also http://lists.repoze.org/pipermail/repoze-dev/2008-December/001038.html
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -22,8 +22,11 @@ use_setuptools() 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 = '' install_requires=[ 'chameleon.core [lxml]', |
