From ef45e8161d341c74b04bf76470e69d3ab33f8207 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Thu, 4 Oct 2018 10:27:21 +0200 Subject: [PATCH] Clean-up, PEP-8, Update. --- setup.cfg | 7 ------- setup.py | 1 + tox.ini | 11 ++--------- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/setup.cfg b/setup.cfg index a816927..8ae7c7e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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] diff --git a/setup.py b/setup.py index 38a24d7..c0c86bc 100644 --- a/setup.py +++ b/setup.py @@ -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() diff --git a/tox.ini b/tox.ini index f317445..e16b805 100644 --- a/tox.ini +++ b/tox.ini @@ -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] @@ -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 @@ -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