Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The code is very simple This was mostly test changes, and the change to account for __setslice__ finally going away. - 100% test coverage - Drop a bunch of testing dependencies and be specific about what we do need. - Rename .txt files to .rst as needed. Fix a --pypi-strict rendering error in README.rst. - Multiline traceback reprs don't work well with IGNORE_EXCEPTION_MODULE_IN_PYTHON2, so a few of those had to be transformed into print(). Fixes #1.
- Loading branch information
Showing
20 changed files
with
647 additions
and
242 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[run] | ||
source = src | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == '__main__': |
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 |
---|---|---|
|
@@ -7,3 +7,5 @@ __pycache__/ | |
build/ | ||
dist/ | ||
*.egg-info/ | ||
.coverage | ||
htmlcov/ |
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,9 +1,26 @@ | ||
language: python | ||
sudo: false | ||
python: | ||
- 2.7 | ||
install: | ||
- pip install . | ||
- 2.7 | ||
- 3.4 | ||
- 3.5 | ||
- 3.6 | ||
- pypy-5.4.1 | ||
script: | ||
- python setup.py test -q | ||
- coverage run -m zope.testrunner --test-path=src --auto-color --auto-progress | ||
|
||
after_success: | ||
- coveralls | ||
notifications: | ||
email: false | ||
email: false | ||
|
||
install: | ||
- pip install -U pip setuptools | ||
- pip install -U coveralls coverage | ||
- pip install -U -e ".[test]" | ||
|
||
|
||
cache: pip | ||
|
||
before_cache: | ||
- rm -f $HOME/.cache/pip/log/debug.log |
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,8 +1,11 @@ | ||
global-include *.txt | ||
include *.txt | ||
recursive-include src/z3c/baseregistry *.txt *.zcml | ||
include *.rst | ||
include tox.ini | ||
include .coveragerc | ||
include .travis.yml | ||
include buildout.cfg | ||
recursive-include src/z3c/baseregistry *.rst *.zcml | ||
|
||
# added by check_manifest.py | ||
include *.py | ||
include .travis.yml | ||
include buildout.cfg |
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 |
---|---|---|
@@ -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: no cover |
Oops, something went wrong.