Skip to content

Commit

Permalink
Merge pull request #4 from zopefoundation/py36
Browse files Browse the repository at this point in the history
Add Python 3.6, drop Python 3.3
  • Loading branch information
jamadden committed Aug 10, 2017
2 parents c5598c4 + 3b943ab commit 2bd7b67
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 118 deletions.
11 changes: 11 additions & 0 deletions .coveragerc
@@ -0,0 +1,11 @@
[run]
source = zope.filerepresentation

[report]
precision = 2
exclude_lines =
pragma: no cover
if __name__ == '__main__':
raise NotImplementedError
self.fail
raise AssertionError
13 changes: 9 additions & 4 deletions .travis.yml
Expand Up @@ -2,14 +2,19 @@ language: python
sudo: false
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
- pypy3.5-5.8.0
install:
- pip install .
- pip install -U pip setuptools
- pip install -U coverage coveralls
- pip install -U -e .[test]
script:
- python setup.py test -q
- coverage run -m zope.testrunner --test-path=src
after_success:
- coveralls
notifications:
email: false
cache: pip
27 changes: 14 additions & 13 deletions CHANGES.rst
@@ -1,49 +1,50 @@
Changes
=======
=========
Changes
=========

4.2.0 (unreleased)
------------------
==================

- Add support for Python 3.5.
- Add support for Python 3.5 and 3.6.

- Drop support for Python 2.6.
- Drop support for Python 2.6 and 3.3.


4.1.0 (2014-12-27)
------------------
==================

- Add support for PyPy3.

- Add support for Python 3.4.


4.0.2 (2013-03-08)
------------------
==================

- Add Trove classifiers indicating CPython and PyPy support.


4.0.1 (2013-02-11)
------------------
==================

- Add tox.ini to release.


4.0.0 (2013-02-11)
------------------
==================

- Add support for Python 3.3 and PyPy.

- Drop support for Python 2.4 / 2.5.

3.6.1 (2011-11-29)
------------------
==================

- Add undeclared ``zope.schema`` dependency.
- Remove ``zope.testing`` test dependency and ``test`` extra.

3.6.0 (2009-10-08)
------------------
==================

- Add `IRawReadFile` and `IRawWriteFile` interfaces. These extend
`IReadFile` and `IWritefile`, respectively, to behave pretty much like a
Expand All @@ -55,11 +56,11 @@ Changes
and ``zope.interface.common.mapping``.

3.5.0 (2009-01-31)
------------------
==================

- Change use of ``zope.app.container`` to ``zope.container``.

3.4.0 (2007-10-02)
------------------
==================

- Initial Zope-independent release.
6 changes: 6 additions & 0 deletions MANIFEST.in
@@ -1,9 +1,15 @@
include *.rst
include *.txt
include tox.ini
include .travis.yml
include .coveragerc
include bootstrap.py
include buildout.cfg

recursive-include src *
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs Makefile


global-exclude *.pyc
22 changes: 18 additions & 4 deletions README.rst
@@ -1,14 +1,28 @@
``zope.filerepresentation``
===========================
=============================
``zope.filerepresentation``
=============================

.. image:: https://img.shields.io/pypi/v/zope.filerepresentation.svg
:target: https://pypi.python.org/pypi/zope.filerepresentation/
:alt: Latest release

.. image:: https://img.shields.io/pypi/pyversions/zope.filerepresentation.svg
:target: https://pypi.org/project/zope.filerepresentation/
:alt: Supported Python versions

.. image:: https://travis-ci.org/zopefoundation/zope.filerepresentation.png?branch=master
:target: https://travis-ci.org/zopefoundation/zope.filerepresentation

.. image:: https://coveralls.io/repos/github/zopefoundation/zope.filerepresentation/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.filerepresentation?branch=master

.. image:: https://readthedocs.org/projects/zopefilerepresentation/badge/?version=latest
:target: http://zopefilerepresentation.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
:target: https://zopefilerepresentation.readthedocs.io/en/latest/
:alt: Documentation Status


The interfaces defined here are used for file-system and file-system-like
representations of objects, such as file-system synchronization, FTP, PUT, and
WebDAV.

Documentation is hosted at https://zopefilerepresentation.readthedocs.io/
2 changes: 2 additions & 0 deletions setup.cfg
Expand Up @@ -6,3 +6,5 @@ cover-min-percentage=100
with-doctest=0
where=src

[bdist_wheel]
universal = 1
97 changes: 55 additions & 42 deletions setup.py
Expand Up @@ -25,45 +25,58 @@ def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()

setup(name='zope.filerepresentation',
version=read('version.txt').strip(),
author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org',
description='File-system Representation Interfaces',
long_description=(
read('README.rst')
+ '\n\n' +
read('CHANGES.rst')
),
keywords="zope3 filesystem representation",
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.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',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3'],
url='http://zopefilerepresentation.readthedocs.io',
license='ZPL 2.1',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope'],
install_requires=['setuptools',
'zope.interface',
'zope.schema',
],
include_package_data=True,
test_suite='zope.filerepresentation.tests.test_suite',
zip_safe=True,
)
setup(
name='zope.filerepresentation',
version=read('version.txt').strip(),
author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org',
description='File-system Representation Interfaces',
long_description=(
read('README.rst')
+ '\n\n' +
read('CHANGES.rst')
),
keywords="zope3 filesystem representation",
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.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',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3',
],
url='http://zopefilerepresentation.readthedocs.io',
license='ZPL 2.1',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['zope'],
install_requires=[
'setuptools',
'zope.interface',
'zope.schema',
],
extras_require={
'test': [
'zope.testrunner',
],
'docs': [
'Sphinx',
'repoze.sphinx.autointerface',
'sphinx_rtd_theme',
],
},
include_package_data=True,
test_suite='zope.filerepresentation.tests.test_suite',
zip_safe=True,
)
2 changes: 1 addition & 1 deletion src/zope/__init__.py
@@ -1 +1 @@
__import__('pkg_resources').declare_namespace(__name__)
__import__('pkg_resources').declare_namespace(__name__) # pragma: no cover

0 comments on commit 2bd7b67

Please sign in to comment.