[Checkins] SVN: z3c.recipe.autoinclude/branches/0.2.1dev/ Use real path names instead of package names

Nikolay Kim fafhrd91 at gmail.com
Fri Jan 15 16:38:05 EST 2010


Log message for revision 108165:
  Use real path names instead of package names

Changed:
  U   z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt
  U   z3c.recipe.autoinclude/branches/0.2.1dev/setup.py
  U   z3c.recipe.autoinclude/branches/0.2.1dev/src/z3c/recipe/autoinclude/dependency.py

-=-
Modified: z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt	2010-01-15 21:25:38 UTC (rev 108164)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/CHANGES.txt	2010-01-15 21:38:04 UTC (rev 108165)
@@ -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/branches/0.2.1dev/setup.py
===================================================================
--- z3c.recipe.autoinclude/branches/0.2.1dev/setup.py	2010-01-15 21:25:38 UTC (rev 108164)
+++ z3c.recipe.autoinclude/branches/0.2.1dev/setup.py	2010-01-15 21:38:04 UTC (rev 108165)
@@ -21,7 +21,7 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-version='0.2.0'
+version='0.2.1'
 
 
 setup(name='z3c.recipe.autoinclude',

Modified: z3c.recipe.autoinclude/branches/0.2.1dev/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/branches/0.2.1dev/src/z3c/recipe/autoinclude/dependency.py	2010-01-15 21:38:04 UTC (rev 108165)
@@ -62,7 +62,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