buildframework/helium/builder/template/easy-install.pth.ftl
changeset 628 7c4a911dc066
parent 587 85df38eb4012
--- a/buildframework/helium/builder/template/easy-install.pth.ftl	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/builder/template/easy-install.pth.ftl	Fri Aug 13 14:59:05 2010 +0300
@@ -20,7 +20,8 @@
 ============================================================================
 -->
 import sys; sys.__plen = len(sys.path)
-<#list project.getReference('egg.deps.fileset').toString().split(';') as file>
-./${file}
+<#list project.getReference('egg.deps.fileset').toString()?split(ant['path.separator']) as file>
+<#assign path = file?split("[\\\\/]", 'r')>
+./${path[path?size-2]}/${path?last}
 </#list>
 import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)