Skip to content

Commit

Permalink
Add support for Python 3.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Dec 21, 2018
1 parent 3a41c76 commit 54e4050
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
@@ -1,5 +1,4 @@
language: python
sudo: false
python:
- 2.7
- 3.4
Expand All @@ -9,6 +8,8 @@ python:
- pypy3
matrix:
include:
- python: 3.7
dist: xenial
- python: 3.6
name: "Flake8"
install: pip install -U flake8
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,7 @@ Changelog
2.1.1 (unreleased)
------------------

- Nothing changed yet.
- Add support for Python 3.7.


2.1.0 (2017-10-17)
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -18,7 +18,8 @@


def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()


TESTS_REQUIRE = ["zope.configuration", "zope.testing", "zope.testrunner"]
Expand All @@ -42,6 +43,7 @@ def read(*rnames):
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
flake8,py27,py34,py35,py36,pypy,pypy3,coverage
flake8,py27,py34,py35,py36,py37,pypy,pypy3,coverage

[testenv]
commands =
Expand Down

0 comments on commit 54e4050

Please sign in to comment.