buildframework/helium/builder/template/easy-install.pth.ftl
changeset 587 85df38eb4012
child 628 7c4a911dc066
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/buildframework/helium/builder/template/easy-install.pth.ftl	Tue Apr 27 08:33:08 2010 +0300
@@ -0,0 +1,26 @@
+<#-- 
+============================================================================ 
+Name        : easy-install.pth.ftl 
+Part of     : Helium AntLib
+
+Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+All rights reserved.
+This component and the accompanying materials are made available
+under the terms of the License "Eclipse Public License v1.0"
+which accompanies this distribution, and is available
+at the URL "http://www.eclipse.org/legal/epl-v10.html".
+
+Initial Contributors:
+Nokia Corporation - initial contribution.
+
+Contributors:
+
+Description:
+
+============================================================================
+-->
+import sys; sys.__plen = len(sys.path)
+<#list project.getReference('egg.deps.fileset').toString().split(';') as file>
+./${file}
+</#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)