Skip to content

Commit

Permalink
Clean-up, PEP-8, Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Oct 4, 2018
1 parent 9a00dfb commit ef45e81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
7 changes: 0 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
[nosetests]
nocapture=1
cover-package=zope.copy
cover-erase=1
with-doctest=0
where=src

[aliases]
dev = develop easy_install zope.copy[testing]
docs = easy_install zope.copy[docs]
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import os
from setuptools import setup, find_packages


def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()
Expand Down
11 changes: 2 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[tox]
envlist =
# Jython support pending 2.7 support, due 2012-07-15 or so. See:
# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
# py27,pypy,jython,coverage
py27,py34,py35,py36,py37,pypy,pypy3,coverage

[testenv]
Expand All @@ -12,14 +9,10 @@ commands =
deps =
.[test,docs]

[testenv:jython]
commands =
jython setup.py -q test -q

[testenv:coverage]
usedevelop = true
basepython =
python2.7
python3.7
commands =
coverage run -m zope.testrunner --test-path=src
coverage run -a -m sphinx -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
Expand All @@ -30,7 +23,7 @@ deps =

[testenv:docs]
basepython =
python2.7
python3.7
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
Expand Down

0 comments on commit ef45e81

Please sign in to comment.