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 Oct 11, 2018
1 parent b759962 commit ebf2491
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[run]
source = Products.ExternalEditor

[report]
precision = 2
exclude_lines =
pragma: no cover
if __name__ == '__main__':
raise NotImplementedError
self.fail
raise AssertionError
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@ language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
install:
- pip install -U setuptools==33.1.1
- pip install zc.buildout
- buildout bootstrap
- buildout
script:
- bin/test -v1
- coverage run bin/test -v1
after_success:
- coveralls
notifications:
email: false
cache:
Expand Down
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ Changelog
4.1 (unreleased)
----------------

- Update to Bootstrap ZMI.
- Update to Bootstrap ZMI requiring `Zope >= 4.0b6`.

- Add support for Python 3.7.

- Drop support for Python 3.4.

4.0 (2017-10-18)
----------------
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Overview
========

The External Method package provides support for external Python methods,
exposing them as callable objects within a Zope 2 environment.
exposing them as callable objects within a Zope environment.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
url='https://pypi.org/project/Products.ExternalMethod',
license='ZPL 2.1',
description="This package provides support for external Python methods "
"within a Zope 2 environment.",
"within a Zope environment.",
author='Zope Foundation and Contributors',
author_email='zope-dev@zope.org',
long_description=(open('README.rst').read() + '\n' +
Expand All @@ -30,16 +30,16 @@
classifiers=[
"Development Status :: 6 - Mature",
"Environment :: Web Environment",
"Framework :: Zope2",
"Framework :: Zope :: 4",
"License :: OSI Approved :: Zope Public License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
],
install_requires=[
Expand All @@ -49,7 +49,7 @@
'ExtensionClass>=4.1a1',
'Persistence',
'ZODB',
'Zope2 >= 4.0a1'
'Zope >= 4.0b6'
],
include_package_data=True,
zip_safe=False,
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py27,py34,py35,py36
py27,py35,py36,py37

[testenv]
commands =
Expand All @@ -9,5 +9,4 @@ commands =
{envbindir}/test
skip_install = true
deps =
setuptools==33.1.1
zc.buildout

0 comments on commit ebf2491

Please sign in to comment.