Skip to content

Commit

Permalink
Drop Python 2.6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 21, 2017
1 parent e238df1 commit eeeee69
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
1 change: 0 additions & 1 deletion .travis.yml
@@ -1,7 +1,6 @@
language: python
sudo: false
python:
- 2.6
- 2.7
install:
- pip install tox-travis
Expand Down
6 changes: 3 additions & 3 deletions CHANGES.txt
Expand Up @@ -2,10 +2,10 @@
CHANGES
=======

3.9.1 (unreleased)
------------------
3.10.0 (unreleased)
-------------------

- Nothing changed yet.
- Drop Python 2.6 support.


3.9.0 (2013-03-13)
Expand Down
21 changes: 11 additions & 10 deletions setup.py
Expand Up @@ -21,16 +21,18 @@
import os
from setuptools import setup, find_packages


def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()


tests_require = [
'zope.testing',
'zope.i18n',
'zope.component',
'Paste',
]
]


setup(
Expand All @@ -46,14 +48,13 @@ def read(*rnames):
),
license='ZPL 2.1',
keywords=('zope3 server http ftp'),
classifiers = [
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Natural Language :: English',
Expand All @@ -62,8 +63,8 @@ def read(*rnames):
'Framework :: Zope3'],
url='http://pypi.python.org/pypi/zope.server',
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['zope',],
package_dir={'': 'src'},
namespace_packages=['zope'],
tests_require=tests_require,
install_requires=[
'setuptools',
Expand All @@ -75,7 +76,7 @@ def read(*rnames):
include_package_data=True,
zip_safe=False,
entry_points="""
[paste.server_runner]
main = zope.server.http.wsgihttpserver:run_paste
"""
)
[paste.server_runner]
main = zope.server.http.wsgihttpserver:run_paste
""",
)
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py26,py27
py27

[testenv]
deps =
Expand Down

0 comments on commit eeeee69

Please sign in to comment.