Skip to content

Commit

Permalink
Drop support for 2.6, add 3.4, 3.5. Fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Sep 12, 2016
1 parent f84fcef commit bd107a5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
sudo: false
language: python
python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
install:
- pip install .
script:
Expand Down
6 changes: 5 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ CHANGES
1.0.1 (unreleased)
------------------

- Fix credit card industry validation to check the first number, not
- Fixed credit card industry validation to check the first number, not
the second.

- Added support for Python 3.4 and 3.5.

- Dropped support for Python 2.6.


1.0.0 (2013-03-01)
------------------
Expand Down
20 changes: 11 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"""Setup
"""
import os
import xml.sax.saxutils
from setuptools import setup, find_packages

def read(*rnames):
Expand All @@ -40,8 +39,8 @@ def alltests():
name = 'z3c.schema',
version='1.0.1.dev0',
author = 'Zope Community',
author_email = "zope-dev@zope.org",
description = "Additional schema fields for Zope 3",
author_email = "zope-dev@zope.org",
description = "Additional schema fields for Zope 3",
long_description=(
read('README.txt') +
'.. contents::\n\n'+
Expand All @@ -54,7 +53,7 @@ def alltests():
read('src', 'z3c', 'schema', 'optchoice', 'README.txt') +
read('src', 'z3c', 'schema', 'payments', 'README.txt') +
read('src', 'z3c', 'schema', 'regex', 'README.txt')
),
),
license = 'ZPL 2.1',
keywords = 'zope zope3 z3c schema',
classifiers = [
Expand All @@ -64,15 +63,17 @@ def alltests():
'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 :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Natural Language :: English',
'Operating System :: Microsoft :: Windows',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3'],
'Framework :: Zope3'
],
url = 'http://pypi.python.org/pypi/z3c.schema',
packages = find_packages('src'),
include_package_data=True,
Expand All @@ -81,18 +82,19 @@ def alltests():
extras_require = dict(
test=[
'zope.testing',
]
'zope.testrunner',
]
),
install_requires = [
'setuptools',
'zope.i18nmessageid',
'zope.interface',
'zope.schema >= 3.6',
],
],
tests_require = [
'zope.testing',
'zope.testrunner',
],
],
test_suite = '__main__.alltests',
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py26,py27,py33
py27,py33,py34,py35

[testenv]
commands =
Expand Down

0 comments on commit bd107a5

Please sign in to comment.