[Checkins] SVN: z3c.recipe.autoinclude/ release
Nikolay Kim
fafhrd91 at gmail.com
Fri Jan 15 16:39:58 EST 2010
Log message for revision 108166:
release
Changed:
D z3c.recipe.autoinclude/branches/0.2.1dev/AUTHOR.txt
D z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt
D z3c.recipe.autoinclude/branches/0.2.1dev/LICENSE.txt
D z3c.recipe.autoinclude/branches/0.2.1dev/bootstrap.py
D z3c.recipe.autoinclude/branches/0.2.1dev/setup.py
D z3c.recipe.autoinclude/branches/0.2.1dev/src/
A z3c.recipe.autoinclude/tags/0.2.1/
D z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt
A z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt
D z3c.recipe.autoinclude/tags/0.2.1/setup.py
A z3c.recipe.autoinclude/tags/0.2.1/setup.py
D z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py
A z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py
U z3c.recipe.autoinclude/trunk/CHANGES.txt
U z3c.recipe.autoinclude/trunk/src/z3c/recipe/autoinclude/dependency.py
-=-
Deleted: z3c.recipe.autoinclude/branches/0.2.1dev/AUTHOR.txt
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/AUTHOR.txt 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/AUTHOR.txt 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1 +0,0 @@
-Nikolay Kim (fafhrd91 <at> gmail <dot> com)
Deleted: z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,22 +0,0 @@
-=======
-CHANGES
-=======
-
-0.2.1 (2010-01-15)
-------------------
-
-- Use real path names instead of package names
-
-
-0.2.0 (2009-04-15)
-------------------
-
-- Fixed zope.app.xxx dependencies
-
-- Added 'packages-exclude.zcml', list all exclude.zcml files
-
-
-0.1.0 (2009-04-06)
-------------------
-
-- Initial release.
Deleted: z3c.recipe.autoinclude/branches/0.2.1dev/LICENSE.txt
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/LICENSE.txt 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/LICENSE.txt 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,54 +0,0 @@
-Zope Public License (ZPL) Version 2.1
--------------------------------------
-
-A copyright notice accompanies this license document that
-identifies the copyright holders.
-
-This license has been certified as open source. It has also
-been designated as GPL compatible by the Free Software
-Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or
-without modification, are permitted provided that the
-following conditions are met:
-
-1. Redistributions in source code must retain the
- accompanying copyright notice, this list of conditions,
- and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying
- copyright notice, this list of conditions, and the
- following disclaimer in the documentation and/or other
- materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to
- endorse or promote products derived from this software
- without prior written permission from the copyright
- holders.
-
-4. The right to distribute this software or to use it for
- any purpose does not give you the right to use
- Servicemarks (sm) or Trademarks (tm) of the copyright
- holders. Use of them is covered by separate agreement
- with the copyright holders.
-
-5. If any files are modified, you must cause the modified
- files to carry prominent notices stating that you changed
- the files and the date of any change.
-
-Disclaimer
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS''
- AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
- NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
- NO EVENT SHALL THE COPYRIGHT HOLDERS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGE.
Deleted: z3c.recipe.autoinclude/branches/0.2.1dev/bootstrap.py
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/bootstrap.py 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/bootstrap.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,77 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Bootstrap a buildout-based project
-
-Simply run this script in a directory containing a buildout.cfg.
-The script accepts buildout command-line options, so you can
-use the -c option to specify an alternate configuration file.
-
-$Id$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-try:
- import pkg_resources
-except ImportError:
- ez = {}
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
- import pkg_resources
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- def quote (c):
- return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws = pkg_resources.working_set
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
- quote(tmpeggs), 'zc.buildout'],
- env=dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ).wait() == 0
-
-else:
- assert os.spawnle(
- os.P_WAIT, sys.executable, quote (sys.executable),
- '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout',
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout')
-import zc.buildout.buildout
-zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
-shutil.rmtree(tmpeggs)
Deleted: z3c.recipe.autoinclude/branches/0.2.1dev/setup.py
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/setup.py 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/setup.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,62 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2009 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Setup for z3c.recipe.autoinclude package
-
-$Id$
-"""
-import sys, os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-version='0.2.1'
-
-
-setup(name='z3c.recipe.autoinclude',
- version=version,
- description="Autoinclude packages zcml recipe",
- long_description=(
- 'Detailed Documentation\n' +
- '======================\n'
- + '\n\n' +
- read('CHANGES.txt')
- ),
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Zope Public License',
- 'Programming Language :: Python',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- author='Nikolay Kim',
- author_email='fafhrd91 at gmail.com',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'':'src'},
- namespace_packages=['z3c', 'z3c.recipe'],
- zip_safe = True,
- install_requires = ['setuptools',
- 'zc.buildout',
- 'zc.recipe.egg',
- ],
- entry_points = {
- 'zc.buildout': [
- 'include = z3c.recipe.autoinclude.include:AutoIncludeSetup',
- ]
- },
- )
Deleted: z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt 2010-01-15 21:25:38 UTC (rev 108164)
+++ z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,16 +0,0 @@
-=======
-CHANGES
-=======
-
-0.2.0 (2009-04-15)
-------------------
-
-- Fixed zope.app.xxx dependencies
-
-- Added 'packages-exclude.zcml', list all exclude.zcml files
-
-
-0.1.0 (2009-04-06)
-------------------
-
-- Initial release.
Copied: z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt (from rev 108165, z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt)
===================================================================
--- z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt (rev 0)
+++ z3c.recipe.autoinclude/tags/0.2.1/CHANGES.txt 2010-01-15 21:39:57 UTC (rev 108166)
@@ -0,0 +1,22 @@
+=======
+CHANGES
+=======
+
+0.2.1 (2010-01-15)
+------------------
+
+- Use real path names instead of package names
+
+
+0.2.0 (2009-04-15)
+------------------
+
+- Fixed zope.app.xxx dependencies
+
+- Added 'packages-exclude.zcml', list all exclude.zcml files
+
+
+0.1.0 (2009-04-06)
+------------------
+
+- Initial release.
Deleted: z3c.recipe.autoinclude/tags/0.2.1/setup.py
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/setup.py 2010-01-15 21:25:38 UTC (rev 108164)
+++ z3c.recipe.autoinclude/tags/0.2.1/setup.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,62 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2009 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Setup for z3c.recipe.autoinclude package
-
-$Id$
-"""
-import sys, os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-version='0.2.0'
-
-
-setup(name='z3c.recipe.autoinclude',
- version=version,
- description="Autoinclude packages zcml recipe",
- long_description=(
- 'Detailed Documentation\n' +
- '======================\n'
- + '\n\n' +
- read('CHANGES.txt')
- ),
- classifiers=[
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- 'Intended Audience :: Developers',
- 'License :: OSI Approved :: Zope Public License',
- 'Programming Language :: Python',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- author='Nikolay Kim',
- author_email='fafhrd91 at gmail.com',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'':'src'},
- namespace_packages=['z3c', 'z3c.recipe'],
- zip_safe = True,
- install_requires = ['setuptools',
- 'zc.buildout',
- 'zc.recipe.egg',
- ],
- entry_points = {
- 'zc.buildout': [
- 'include = z3c.recipe.autoinclude.include:AutoIncludeSetup',
- ]
- },
- )
Copied: z3c.recipe.autoinclude/tags/0.2.1/setup.py (from rev 108165, z3c.recipe.autoinclude/branches/0.2.1dev/setup.py)
===================================================================
--- z3c.recipe.autoinclude/tags/0.2.1/setup.py (rev 0)
+++ z3c.recipe.autoinclude/tags/0.2.1/setup.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -0,0 +1,62 @@
+##############################################################################
+#
+# Copyright (c) 2009 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup for z3c.recipe.autoinclude package
+
+$Id$
+"""
+import sys, os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+version='0.2.1'
+
+
+setup(name='z3c.recipe.autoinclude',
+ version=version,
+ description="Autoinclude packages zcml recipe",
+ long_description=(
+ 'Detailed Documentation\n' +
+ '======================\n'
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Zope Public License',
+ 'Programming Language :: Python',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Topic :: Internet :: WWW/HTTP',
+ 'Framework :: Zope3'],
+ author='Nikolay Kim',
+ author_email='fafhrd91 at gmail.com',
+ license='ZPL 2.1',
+ packages=find_packages('src'),
+ package_dir = {'':'src'},
+ namespace_packages=['z3c', 'z3c.recipe'],
+ zip_safe = True,
+ install_requires = ['setuptools',
+ 'zc.buildout',
+ 'zc.recipe.egg',
+ ],
+ entry_points = {
+ 'zc.buildout': [
+ 'include = z3c.recipe.autoinclude.include:AutoIncludeSetup',
+ ]
+ },
+ )
Deleted: z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/src/z3c/recipe/autoinclude/dependency.py 2010-01-15 21:25:38 UTC (rev 108164)
+++ z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -1,104 +0,0 @@
-import os, sys, pkg_resources
-
-
-class DependencyFinder(object):
-
- def __init__(self, dist, ws):
- self.context = dist
- self.ws = ws
-
- def paths(self):
- dist_path = self.context.location
-
- ns_paths = []
- for name in namespaceDottedNames(self.context):
- ns_paths.append(os.path.join(*name.split('.')))
-
- if not ns_paths:
- return subpackageDottedNames(dist_path)
-
- result = []
- for ns_path in ns_paths:
- path = os.path.join(dist_path, ns_path)
- subpackages = subpackageDottedNames(path, ns_path)
- for subpackage in subpackages:
- if subpackage not in ns_paths:
- result.append(subpackage)
- return result
-
- def includableInfo(self, zcml_to_look_for, seen=None):
- result = dict([(key, []) for key in zcml_to_look_for])
-
- if seen is None:
- seen = set()
-
- seen.add(self.context.project_name)
-
- # process package requirenments
- for req in self.context.requires():
- pkg = req.project_name
-
- if pkg in seen or pkg == 'setuptools':
- continue
-
- # get info from requirenments
- dist = self.ws.find(req)
- if dist is None:
- continue
-
- info = DependencyFinder(
- self.ws.find(req), self.ws).includableInfo(zcml_to_look_for, seen)
-
- for key, items in info.items():
- data = result[key]
- for item in items:
- if item not in data:
- data.append(item)
-
- # get info for self
- for path in self.paths():
- for candidate in zcml_to_look_for:
- candidate_path = os.path.join(
- self.context.location, path, candidate)
-
- if os.path.isfile(candidate_path):
- result[candidate].append(self.context.project_name)
-
- return result
-
-
-def subpackageDottedNames(package_path, ns_path=None):
- # we do not look for subpackages in zipped eggs
- if not os.path.isdir(package_path):
- return []
-
- result = []
- for subpackage_name in os.listdir(package_path):
- full_path = os.path.join(package_path, subpackage_name)
- if isPythonPackage(full_path):
- if ns_path:
- result.append(os.path.join(ns_path, subpackage_name))
- else:
- result.append(subpackage_name)
- return result
-
-
-def isPythonPackage(path):
- if not os.path.isdir(path):
- return False
-
- for init_variant in ['__init__.py', '__init__.pyc', '__init__.pyo']:
- if os.path.isfile(os.path.join(path, init_variant)):
- return True
-
- return False
-
-
-def namespaceDottedNames(dist):
- try:
- ns_dottednames = list(dist.get_metadata_lines('namespace_packages.txt'))
- except IOError:
- ns_dottednames = []
- except KeyError:
- ns_dottednames = []
- return ns_dottednames
Copied: z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py (from rev 108165, z3c.recipe.autoinclude/branches/0.2.1dev/src/z3c/recipe/autoinclude/dependency.py)
===================================================================
--- z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py (rev 0)
+++ z3c.recipe.autoinclude/tags/0.2.1/src/z3c/recipe/autoinclude/dependency.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -0,0 +1,105 @@
+import os, sys, pkg_resources
+
+
+class DependencyFinder(object):
+
+ def __init__(self, dist, ws):
+ self.context = dist
+ self.ws = ws
+
+ def paths(self):
+ dist_path = self.context.location
+
+ ns_paths = []
+ for name in namespaceDottedNames(self.context):
+ ns_paths.append(os.path.join(*name.split('.')))
+
+ if not ns_paths:
+ return subpackageDottedNames(dist_path)
+
+ result = []
+ for ns_path in ns_paths:
+ path = os.path.join(dist_path, ns_path)
+ subpackages = subpackageDottedNames(path, ns_path)
+ for subpackage in subpackages:
+ if subpackage not in ns_paths:
+ result.append(subpackage)
+ return result
+
+ def includableInfo(self, zcml_to_look_for, seen=None):
+ result = dict([(key, []) for key in zcml_to_look_for])
+
+ if seen is None:
+ seen = set()
+
+ seen.add(self.context.project_name)
+
+ # process package requirenments
+ for req in self.context.requires():
+ pkg = req.project_name
+
+ if pkg in seen or pkg == 'setuptools':
+ continue
+
+ # get info from requirenments
+ dist = self.ws.find(req)
+ if dist is None:
+ continue
+
+ info = DependencyFinder(
+ self.ws.find(req), self.ws).includableInfo(zcml_to_look_for, seen)
+
+ for key, items in info.items():
+ data = result[key]
+ for item in items:
+ if item not in data:
+ data.append(item)
+
+ # get info for self
+ for path in self.paths():
+ for candidate in zcml_to_look_for:
+ candidate_path = os.path.join(
+ self.context.location, path, candidate)
+
+ if os.path.isfile(candidate_path):
+ name = path.replace(os.path.sep, '.')
+ result[candidate].append(name)
+
+ return result
+
+
+def subpackageDottedNames(package_path, ns_path=None):
+ # we do not look for subpackages in zipped eggs
+ if not os.path.isdir(package_path):
+ return []
+
+ result = []
+ for subpackage_name in os.listdir(package_path):
+ full_path = os.path.join(package_path, subpackage_name)
+ if isPythonPackage(full_path):
+ if ns_path:
+ result.append(os.path.join(ns_path, subpackage_name))
+ else:
+ result.append(subpackage_name)
+ return result
+
+
+def isPythonPackage(path):
+ if not os.path.isdir(path):
+ return False
+
+ for init_variant in ['__init__.py', '__init__.pyc', '__init__.pyo']:
+ if os.path.isfile(os.path.join(path, init_variant)):
+ return True
+
+ return False
+
+
+def namespaceDottedNames(dist):
+ try:
+ ns_dottednames = list(dist.get_metadata_lines('namespace_packages.txt'))
+ except IOError:
+ ns_dottednames = []
+ except KeyError:
+ ns_dottednames = []
+ return ns_dottednames
Modified: z3c.recipe.autoinclude/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.autoinclude/trunk/CHANGES.txt 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/trunk/CHANGES.txt 2010-01-15 21:39:57 UTC (rev 108166)
@@ -2,6 +2,12 @@
CHANGES
=======
+0.2.1 (2010-01-15)
+------------------
+
+- Use real path names instead of package names
+
+
0.2.0 (2009-04-15)
------------------
Modified: z3c.recipe.autoinclude/trunk/src/z3c/recipe/autoinclude/dependency.py
===================================================================
--- z3c.recipe.autoinclude/trunk/src/z3c/recipe/autoinclude/dependency.py 2010-01-15 21:38:04 UTC (rev 108165)
+++ z3c.recipe.autoinclude/trunk/src/z3c/recipe/autoinclude/dependency.py 2010-01-15 21:39:57 UTC (rev 108166)
@@ -75,7 +75,8 @@
self.context.location, path, candidate)
if os.path.isfile(candidate_path):
- result[candidate].append(self.context.project_name)
+ name = path.replace(os.path.sep, '.')
+ result[candidate].append(name)
return result
More information about the checkins
mailing list