Skip to content

Commit

Permalink
Merge pull request #2 from zopefoundation/py3-compat
Browse files Browse the repository at this point in the history
Py3 compat
  • Loading branch information
ale-rt authored Apr 19, 2018
2 parents e72e047 + aef072e commit 2ab00e9
Show file tree
Hide file tree
Showing 9 changed files with 412 additions and 369 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
install:
- python bootstrap.py
- bin/buildout
Expand Down
7 changes: 7 additions & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
[buildout]
extensions = mr.developer
develop = .
parts = test py

find-links = http://download.zope.org/distribution/
auto-checkout = *

sources-dir = src-dev

[sources]
zc.relation = git https://github.com/zopefoundation/zc.relation.git branch=py3-compat

[test]
recipe = zc.recipe.testrunner
Expand Down
12 changes: 10 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#
##############################################################################
from __future__ import print_function

from setuptools import find_packages
from setuptools import setup

Expand Down Expand Up @@ -91,6 +90,15 @@ def text(*args, **kwargs):
long_description=text(
'src/zc/relationship/README.txt',
'src/zc/relationship/CHANGES.txt'),
classifiers=[
'Programming Language :: Python',
'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',
],
license='ZPL 2.1',
keywords="zope zope3",
install_requires=[
Expand All @@ -103,10 +111,10 @@ def text(*args, **kwargs):
'zope.location',
'zope.index',
'zc.relation',

'zope.app.testing',
'zope.app.component',
'zope.testing',
'six',
'setuptools',
],
extras_require=dict(
Expand Down
2 changes: 1 addition & 1 deletion src/zc/relationship/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Changes in 2.0
exclusively. See plone.relations for a zc.relationship container with
very good test coverage.)

- Fixed tests to run on Python 2.6.
- Tested with Python 2.7 and Python >= 3.4

- Added test extra to declare test dependency on ``zope.app.folder``.

Expand Down
Loading

0 comments on commit 2ab00e9

Please sign in to comment.