Skip to content

Commit

Permalink
Merge branch 'master' into lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Oct 9, 2020
2 parents 763a2fa + cc0cd5c commit 87b851e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy-5.6.0
- pypy
- pypy3

matrix:
include:
- name: "lint"
python: 3.6
env: TOXENV="lint"

install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Changes
=======

4.2.1 (unreleased)
4.3.0 (unreleased)
------------------

- Nothing changed yet.
- Drop support for running the tests using ``python setup.py test``.

- Drop support for Python 3.4 and 3.5.


4.2.0 (2017-07-25)
Expand Down
22 changes: 1 addition & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,6 @@ def read(*path):
return f.read() + '\n\n'


def alltests():
import os
import sys
import unittest
# use the zope.testrunner machinery to find all the
# test suites we've put under ourselves
import zope.testrunner.find
import zope.testrunner.options
here = os.path.abspath(os.path.join(os.path.dirname(__file__), 'src'))
args = sys.argv[:]
defaults = ["--test-path", here]
options = zope.testrunner.options.get_options(args, defaults)
suites = list(zope.testrunner.find.find_suites(options))
return unittest.TestSuite(suites)


long_description = '\n\n'.join([
read('README.rst'),
read('CHANGES.rst')
Expand All @@ -57,7 +41,7 @@ def alltests():

setup(
name="zope.dublincore",
version='4.2.1.dev0',
version='4.3.0.dev0',
url='http://github.com/zopefoundation/zope.dublincore',
license='ZPL 2.1',
description='Zope Dublin Core implementation',
Expand All @@ -75,8 +59,6 @@ def alltests():
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
Expand All @@ -101,8 +83,6 @@ def alltests():
'zope.schema',
'zope.security[zcml]>=3.8',
],
test_suite='__main__.alltests',
tests_require=tests_require,
extras_require={
'testing': tests_require,
'test': tests_require,
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ envlist =
lint,
py27,
pypy,
py34,
py35,
py36,
pypy3,
docs

[testenv]
usedevelop = true
Expand Down

0 comments on commit 87b851e

Please sign in to comment.