[Checkins] SVN: z3c.autoinclude/trunk/ remove unnecessary codepath that breaks on namespaces packages installed by pip
David Glick
davidglick at onenw.org
Fri Mar 11 15:13:39 EST 2011
Log message for revision 120874:
remove unnecessary codepath that breaks on namespaces packages installed by pip
Changed:
U z3c.autoinclude/trunk/CHANGES.txt
U z3c.autoinclude/trunk/src/z3c/autoinclude/plugin.py
-=-
Modified: z3c.autoinclude/trunk/CHANGES.txt
===================================================================
--- z3c.autoinclude/trunk/CHANGES.txt 2011-03-11 19:49:12 UTC (rev 120873)
+++ z3c.autoinclude/trunk/CHANGES.txt 2011-03-11 20:13:39 UTC (rev 120874)
@@ -4,9 +4,8 @@
0.3.4 (unreleased)
------------------
-- Nothing changed yet.
+* Remove unnecessary distribution lookup in the PluginFinder.
-
0.3.3 (2010-05-06)
------------------
Modified: z3c.autoinclude/trunk/src/z3c/autoinclude/plugin.py
===================================================================
--- z3c.autoinclude/trunk/src/z3c/autoinclude/plugin.py 2011-03-11 19:49:12 UTC (rev 120873)
+++ z3c.autoinclude/trunk/src/z3c/autoinclude/plugin.py 2011-03-11 20:13:39 UTC (rev 120874)
@@ -2,12 +2,11 @@
from pkg_resources import iter_entry_points
from pkg_resources import resource_filename
from z3c.autoinclude.utils import DistributionManager
-from z3c.autoinclude.utils import distributionForDottedName
from z3c.autoinclude.utils import ZCMLInfo
-class PluginFinder(DistributionManager):
+
+class PluginFinder(object):
def __init__(self, platform_dottedname):
- self.context = distributionForDottedName(platform_dottedname)
self.dottedname = platform_dottedname
def includableInfo(self, zcml_to_look_for):
More information about the checkins
mailing list