Skip to content
Browse files

Prepare release

svn path=/Products.contentmigration/trunk/; revision=102170
  • Loading branch information...
1 parent 388d67a commit 211c9b39caebdf06f908615f547ca2968addb459 @hannosch hannosch committed Nov 14, 2009
View
9 Products/contentmigration/CHANGES.txt → CHANGES.txt
@@ -1,10 +1,13 @@
Changelog
=========
-1.3 - Unreleased
-----------------
+2.0a1 - 2009-11-14
+------------------
+
+- Avoid zope.app dependencies.
+ [hannosch]
-- Use Zope3 interfaces from `OFS` and `Archetypes`.
+- Use Zope interfaces from `OFS` and `Archetypes`.
[witsch]
View
15 Products/contentmigration/utils.py
@@ -1,17 +1,20 @@
"""Utility functions."""
+from cgi import escape
import sys
+import warnings
+
+from zope.container.contained import notifyContainerModified
+from zope.event import notify
+from zope.lifecycleevent import ObjectMovedEvent
+
from Acquisition import aq_base, aq_inner, aq_parent
from App.Dialogs import MessageDialog
-from ZODB.POSException import ConflictError
-from zope.event import notify
-from zope.app.container.contained import ObjectMovedEvent
-from zope.app.container.contained import notifyContainerModified
from OFS.event import ObjectWillBeMovedEvent
from OFS.CopySupport import sanity_check, CopyError
from OFS.CopySupport import eNotSupported
-from cgi import escape
-import warnings
+from ZODB.POSException import ConflictError
+
def unrestricted_move(self, ob):
"""Move an object from one container to another bypassing certain
View
1 Products/contentmigration/version.txt
@@ -1 +0,0 @@
-1.2
View
4 Products/contentmigration/README.txt → README.txt
@@ -1,5 +1,7 @@
Content migration utilities
-by Martin Aspeli <optilude@gmx.net>
+===========================
+
+by Martin Aspeli <optilude@gmx.net> and others
Released under the GNU Lesser General Public License (LGPL) version 2.0
View
3 setup.cfg
@@ -1,3 +0,0 @@
-[egg_info]
-tag_build=dev
-tag_svn_revision=true
View
20 setup.py
@@ -1,28 +1,20 @@
-import os
from setuptools import setup, find_packages
-version = '1.3'
-
-def read(rnames):
- return open(os.path.join(*rnames.split("/"))).read()
+version = '2.0a1'
setup(name='Products.contentmigration',
version=version,
description="A generic content migration framework for Plone.",
- long_description=(
- read('Products/contentmigration/README.txt')
- + '\n\n' +
- read('Products/contentmigration/CHANGES.txt')
- ),
+ long_description=open("README.txt").read() + "\n" +
+ open("CHANGES.txt").read(),
classifiers=[
"Framework :: Plone",
"Programming Language :: Python",
- "Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='Plone Archetypes ATContentTypes',
author='Martin Aspeli (and others)',
- author_email='optilude@gmx.net',
- url='',
+ author_email='plone-developers@lists.sourceforge.net',
+ url='http://pypi.python.org/pypi/Products.contentmigration',
license='LGPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['Products'],
@@ -31,4 +23,4 @@ def read(rnames):
install_requires=[
'setuptools',
],
- )
+)

0 comments on commit 211c9b3

Please sign in to comment.
Something went wrong with that request. Please try again.