summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/setup.py b/setup.py
index 840dcfdb5..2af0535c3 100644
--- a/setup.py
+++ b/setup.py
@@ -12,18 +12,14 @@
#
##############################################################################
-import os
-
from setuptools import setup, find_packages
-here = os.path.abspath(os.path.dirname(__file__))
-try:
- with open(os.path.join(here, 'README.rst')) as f:
- README = f.read()
- with open(os.path.join(here, 'CHANGES.txt')) as f:
- CHANGES = f.read()
-except IOError:
- README = CHANGES = ''
+def readfile(name):
+ with open(name) as f:
+ return f.read()
+
+README = readfile('README.rst')
+CHANGES = readfile('CHANGES.txt')
install_requires = [
'setuptools',
@@ -61,7 +57,7 @@ testing_extras = tests_require + [
]
setup(name='pyramid',
- version='1.9b1',
+ version='1.10.dev0',
description='The Pyramid Web Framework, a Pylons project',
long_description=README + '\n\n' + CHANGES,
classifiers=[