Skip to content

Commit

Permalink
Enable Python 3 on Travis and everywhere
Browse files Browse the repository at this point in the history
We can do that now that zope.server 4.0.0 is out on PyPI.
  • Loading branch information
mgedmin committed Oct 30, 2017
1 parent 840ffd8 commit ab8282a
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 11 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
@@ -1,10 +1,17 @@
language: python
sudo: false
cache: pip
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- python bootstrap.py
- bin/buildout
- pip install coveralls coverage
- pip install -e ".[test]"
script:
- bin/test -v1
- coverage run -m zope.testrunner --test-path=src -pvc
after_success:
- coveralls
notifications:
email: false
4 changes: 2 additions & 2 deletions CHANGES.txt
Expand Up @@ -2,10 +2,10 @@
CHANGES
=======

3.6.1 (unreleased)
4.0.0 (unreleased)
------------------

- Nothing changed yet.
- Add support for Python 3.4, 3.5, and 3.6


3.6.0 (2011-03-23)
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Expand Up @@ -4,3 +4,7 @@ include buildout.cfg
recursive-include src *.in
recursive-include src *.xml
recursive-include src *.zcml

# added by check_manifest.py
include .coveragerc
include tox.ini
14 changes: 10 additions & 4 deletions setup.py
Expand Up @@ -29,7 +29,7 @@ def read(*rnames):

setup(
name='zope.app.server',
version='3.6.1dev',
version='4.0.0dev',
author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org',
description='ZServer integration for Zope 3 Applications',
Expand All @@ -45,17 +45,23 @@ def read(*rnames):
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3'],
url='http://cheeseshop.python.org/pypi/zope.app.server',
'Framework :: Zope3',
],
url='https://github.com/zopefoundation/zope.app.server',
license='ZPL 2.1',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope', 'zope.app'],
extras_require=dict(
test=[
'zope.testrunner',
'zope.app.testing',
],
),
Expand All @@ -70,7 +76,7 @@ def read(*rnames):
'zope.event',
'zope.interface',
'zope.publisher',
'zope.server',
'zope.server >= 4.0',
'zope.password >= 3.6',
'zope.processlifetime',
'zdaemon',
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
@@ -1,9 +1,8 @@
[tox]
envlist = py27
envlist = py27, py34, py35, py36

[testenv]
deps =
zope.testrunner
.[test]
commands =
zope-testrunner --test-path=src {posargs:-pvc}
Expand Down

0 comments on commit ab8282a

Please sign in to comment.