Get rid of the global python path extensions

This commit is contained in:
Marco Pesenti Gritti
2006-10-17 10:14:42 +02:00
parent 77f2de8f73
commit 0836c57f76
4 changed files with 1 additions and 18 deletions
+1 -3
View File
@@ -19,9 +19,7 @@
import os
import sys
curdir = os.path.abspath(os.path.dirname(__file__))
sourcedir = os.path.dirname(curdir)
sourcedir = os.path.abspath(os.path.dirname(__file__))
if os.path.isfile(os.path.join(sourcedir, 'sugar/__uninstalled__.py')):
print 'Running sugar from ' + sourcedir + ' ...'
sys.path.insert(0, sourcedir)