Skip to content

Commit

Permalink
Add support for Python 3.5 and 3.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Mar 21, 2018
1 parent a9d3ed3 commit e8ebe76
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ language: python
sudo: false
python:
- 2.7
- 3.5
- 3.6
install:
- pip install coveralls coverage
- pip install -U setuptools==33.1.1
Expand Down
3 changes: 1 addition & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Products.CMFUid Changelog

- Require `Zope >= 4`.

- Prepare for Python 2 / 3 compatibility.
[pbauer]
- Add support for Python 3.5 and 3.6.

- Adapt tests to the new indexing operations queueing.
Part of PLIP 1343: https://github.com/plone/Products.CMFPlone/issues/1343
Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ def _read(name):
"Framework :: Zope :: 4",
"Intended Audience :: Developers",
"License :: OSI Approved :: Zope Public License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[tox]
envlist =
py27,
py35,
py36,
coverage-report,

[testenv]
Expand All @@ -10,7 +12,8 @@ commands =
{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir}
coverage run {envbindir}/test --all {posargs:-vc}
deps =
zc.buildout
setuptools >= 39
zc.buildout >= 2.11
coverage
setenv =
COVERAGE_FILE=.coverage.{envname}
Expand Down

0 comments on commit e8ebe76

Please sign in to comment.