-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for Python 3.7. * Drop support for `python setup.py test`. * Fix a resource warning.
- Loading branch information
Michael Howitz
committed
Nov 3, 2018
1 parent
e67eacf
commit c38fc85
Showing
9 changed files
with
42 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[bdist_wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
# this is a namespace package | ||
try: | ||
import pkg_resources | ||
pkg_resources.declare_namespace(__name__) | ||
except ImportError: | ||
import pkgutil | ||
__path__ = pkgutil.extend_path(__path__, __name__) | ||
__import__('pkg_resources').declare_namespace(__name__) # pragma: nocover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
[tox] | ||
envlist = | ||
py27,py34,py35,py36,pypy,pypy3,coverage | ||
py27,py34,py35,py36,py37,pypy,pypy3,coverage | ||
|
||
[testenv] | ||
use_develop = true | ||
deps = | ||
zc.buildout | ||
usedevelop = true | ||
commands = | ||
python setup.py -q test | ||
zope-testrunner --test-path=src [] | ||
extras = test,buildout | ||
deps = zope.testrunner | ||
|
||
[testenv:coverage] | ||
basepython = python3.6 | ||
usedevelop = true | ||
basepython = | ||
python3.7 | ||
commands = | ||
coverage run -m zope.testrunner --test-path=src [] | ||
coverage report --fail-under=77 | ||
deps = | ||
{[testenv]deps} | ||
zope.testrunner | ||
coverage | ||
commands = | ||
coverage run --source=z3c.checkversions setup.py -q test | ||
coverage report -m --fail-under=77 |