diff --git a/CHANGES.txt b/CHANGES.txt index 993386d..b1ad2e6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,12 @@ CHANGES ======= +five.customerize 0.1.3 (2007/07/08) +--------------------------------- + +Fix in setup.py + + five.customerize 0.1.2 (2007/05/04) --------------------------------- diff --git a/setup.py b/setup.py index 6fc9ba4..76ee918 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup setup(name = 'five.customerize', - version = '0.1.2', + version = '0.1.3', description = 'TTW customization of template-based Zope 3 views', keywords = 'zope3 views templates customization ttw', author = 'Zope Corporation and Contributors', @@ -30,6 +30,9 @@ include_package_data = True, platforms = 'Any', zip_safe = False, + install_requires=[ + 'setuptools' + ], classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', diff --git a/src/five/customerize/browser.py b/src/five/customerize/browser.py index 78065d9..9625e7a 100644 --- a/src/five/customerize/browser.py +++ b/src/five/customerize/browser.py @@ -54,7 +54,7 @@ def mangleAbsoluteFilename(filename): try: zope.dottedname.resolve.resolve('.'.join(pieces)) break - except ImportError: + except (ImportError, ValueError): pieces = pieces[1:] if not pieces: return filename diff --git a/src/five/customerize/version.txt b/src/five/customerize/version.txt index 8294c18..7693c96 100644 --- a/src/five/customerize/version.txt +++ b/src/five/customerize/version.txt @@ -1 +1 @@ -0.1.2 \ No newline at end of file +0.1.3 \ No newline at end of file