Get rid of the global python path extensions
This commit is contained in:
+1
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user