Skip to content

Commit

Permalink
fix 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
aodag committed Jan 28, 2018
1 parent a732e07 commit dc49c5a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Expand Up @@ -17,12 +17,14 @@
readme = None
changes = None


def _read(name):
try:
return open(os.path.join(here, name)).read()
except:
except Exception:
return ""


readme = _read("README.rst")
changes = _read("CHANGES.txt")

Expand All @@ -40,7 +42,9 @@ def _read(name):
long_description=readme + "\n" + changes,
test_suite="webdispatch",
license="MIT",
install_requires=[],
install_requires=[
"typing; python_version < '3.5'",
],
tests_require=tests_require,
extras_require={
"testing": tests_require,
Expand Down

0 comments on commit dc49c5a

Please sign in to comment.