Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
RE #9: Deprecate the whole package.
Browse files Browse the repository at this point in the history
Typo.


Avoid testing completely.


Fix buildout.cfg


travis needs some tests.
  • Loading branch information
sallner committed Sep 25, 2017
1 parent b6177e9 commit 58f384a
Show file tree
Hide file tree
Showing 25 changed files with 15 additions and 1,011 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ install:
- python bootstrap.py
- bin/buildout
script:
- bin/test -v1
- echo 'No tests needed'
notifications:
email: false
8 changes: 4 additions & 4 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Changelog
=========

In next release ...

- Fix ``test_edit_with_errors`` to not import a private variable from
``zope.pagetemplate``. Fixes test failure with latest zope.pagetemplate.
[thet]
99.0 (unreleased)
~~~~~~~~~~~~~~~~~

- Mark as deprecated.


2.2.4 (2016-04-19)
Expand Down
21 changes: 2 additions & 19 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
Overview
========

This package brings the Chameleon template engine to the Zope application
server.

It works using monkey-patching onto the existing API (specifically,
the ``TALInterpreter`` and ``PageTemplate`` classes). In simple terms,
what the patching does is to replace the TAL interpreter class and
make sure that the so-called "cooking" routine uses the Chameleon
parser and compiler instead of the ``zope.*`` reference
implementation.


Usage
~~~~~

To enable Chameleon, configure the package using ZCML::

<include package="five.pt" />

For more information on Chameleon, see http://chameleon.readthedocs.io/en/latest/.
This package is deprecated. It was integrated into Zope at version 4.0a2.
It is no longer needed.
32 changes: 0 additions & 32 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,35 +1,3 @@
[buildout]
versions = versions
extends =
http://dist.plone.org/versions/zope-2-13-22-versions.cfg
versions.cfg

develop = .

parts =
test

eggs =
five.pt
Zope2

versions = versions
allow-picked-versions = false

extensions = mr.developer
auto-checkout = *
always-checkout = true
sources-dir = develop

[sources]
Chameleon = git https://github.com/malthe/chameleon.git

[versions]
mr.developer = 1.17
argparse = 1.2.1
zope.interface = 3.5.1

[test]
recipe = zc.recipe.testrunner
eggs = ${buildout:eggs}
defaults = ['-m', 'five.pt']
20 changes: 6 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from setuptools import setup, find_packages

version = '2.2.5.dev0'
__version__ = version

setup(
name='five.pt',
version=__version__,
description="Five bridges and patches to use Chameleon with Zope.",
version='99.0.dev0',
description="DEPRECATED: Five bridges and patches to use Chameleon with"
" Zope.",
long_description=(open("README.rst").read() + "\n" +
open("CHANGES.rst").read()),
classifiers=[
Expand All @@ -15,11 +13,12 @@
"Programming Language :: Python :: 2.7",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: XML",
"Development Status :: 7 - Inactive",
],
keywords='',
author='Zope Foundation and Contributors',
author_email='zope-dev@zope.org',
url='https://pypi.python.org/pypi/five.pt',
url='https://github.com/zopefoundation/five.pt',
license='ZPL',
namespace_packages=['five'],
packages=find_packages('src'),
Expand All @@ -28,13 +27,6 @@
zip_safe=False,
install_requires=[
'setuptools',
'sourcecodegen>=0.6.14',
'z3c.pt>=2.2',
'zope.pagetemplate>=3.6.2',
'Chameleon>=2.14',
'Zope2 >= 4.0a2',
],
entry_points="""
[z3c.autoinclude.plugin]
target = plone
""",
)
9 changes: 2 additions & 7 deletions src/five/pt/configure.zcml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five">
<configure xmlns="http://namespaces.zope.org/zope">

<include package="Products.Five" />
<include package="z3c.pt" />

<utility component=".engine.Program" />
<!-- Nothing here; maintained for compatibility purposes -->

</configure>
135 changes: 0 additions & 135 deletions src/five/pt/engine.py

This file was deleted.

Loading

0 comments on commit 58f384a

Please sign in to comment.