[Bugs] #494 UNSP: Python exec dir is hardcoded
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Mon Mar 9 10:32:07 EDT 2009
#494: Python exec dir is hardcoded
------------------------------------------+---------------------------------
Reporter: sadam | Owner: tomeu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Git as of bugdate
Severity: Blocker | Resolution:
Keywords: | Distribution: Unspecified
Status_field: Unconfimed |
------------------------------------------+---------------------------------
Comment(by sadam):
Nope. It generalizes the path to the approriate version of python, but
doesn't change that for 2.6 the pyexecdir is dist-packages instead of
site-packages.
print sys.path
['', '/home/sadam/checkout/sugar-jhbuild/install/lib/python2.6/site-
packages/gtk-2.0', '/home/sadam/checkout/sugar-
jhbuild/install/lib/python2.6/site-packages', '/usr/lib/python26.zip',
'/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2',
'/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old',
'/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-
packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib
/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0',
'/var/lib/python-support/python2.6/gtk-2.0', '/usr/local/lib/python2.6
/dist-packages']
~/checkout/sugar-jhbuild$ ls install/lib/python2.6/dist-packages/
abiword gtk-2.0 hippo.la hulahop pygtk.pth pygtk.pyc sugar
carquinyol hippo.a hippo.so jarabe pygtk.py pygtk.pyo
--
Ticket URL: <http://dev.sugarlabs.org/ticket/494#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list