diff options
| author | Michael Merickel <michael@merickel.org> | 2017-06-27 23:11:44 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2017-06-28 00:35:47 -0500 |
| commit | e42ba531963c35a89818bf57f08b0ab87c04e8bf (patch) | |
| tree | c2de9751babe30009a7c712ee83d1e11f222974e /setup.py | |
| parent | 7c5880be8dcdd22b51920d2248055db3f386565e (diff) | |
| download | pyramid-e42ba531963c35a89818bf57f08b0ab87c04e8bf.tar.gz pyramid-e42ba531963c35a89818bf57f08b0ab87c04e8bf.tar.bz2 pyramid-e42ba531963c35a89818bf57f08b0ab87c04e8bf.zip | |
add a manifest and a tox step to check it
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -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', |
