Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Update to current Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Feb 12, 2020
1 parent 3033612 commit 632dbd4
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 20 deletions.
4 changes: 3 additions & 1 deletion .gitignore
@@ -1,7 +1,9 @@
*.egg
*.pyc
/.installed.cfg
/*.egg-info
/.coverage
/.installed.cfg
/.tox
/bin
/develop-eggs
/doc.txt
Expand Down
14 changes: 2 additions & 12 deletions .travis.yml
@@ -1,13 +1,3 @@
version: ~> 1.0
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
install:
- pip install .
script:
- python setup.py test -q
notifications:
email: false
import: zopefoundation/meta:travis-ci-config/minimal.yml
6 changes: 4 additions & 2 deletions README.rst
Expand Up @@ -13,7 +13,9 @@ Releases
0.3.2 (unreleased)
==================

- TBD.
- Add support for Python 3.5 up to 3.8.

- Drop support for Python 2.6, 3.2, 3.3 and 3.4.


0.3.1 (2013-04-01)
Expand All @@ -33,7 +35,7 @@ Releases
0.2 (2008-09-10)
================

- Added support for the deployment recipe ``name`` option.
- Added support for the deployment recipe ``name`` option.


0.1 (2008-05-01)
Expand Down
15 changes: 10 additions & 5 deletions setup.py
Expand Up @@ -36,7 +36,12 @@ def read(*rnames):
'**********************\n'
)

tests_require = ['six', 'zdaemon', 'zope.testing']
tests_require = [
'six',
'zdaemon',
'zope.testing',
'zope.testrunner',
]

setup(
name = name,
Expand All @@ -63,11 +68,11 @@ def read(*rnames):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
)
30 changes: 30 additions & 0 deletions tox.ini
@@ -0,0 +1,30 @@
[tox]
envlist = flake8,
py27,
py35,
py36,
py37,
py38,
pypy,
pypy3,
coverage

[testenv]
usedevelop = true
commands =
zope-testrunner --test-path=src []
extras = test

[testenv:coverage]
basepython = python3.7
commands =
coverage run -m zope.testrunner --test-path=src []
coverage report --fail-under=86
deps =
coverage

[testenv:flake8]
basepython = python3.6
skip_install = true
deps = flake8
commands = flake8 --doctests src setup.py

0 comments on commit 632dbd4

Please sign in to comment.