[Bugs] #494 UNSP: Python exec dir is hardcoded

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 5 15:40:11 EST 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                    |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfimed                 
------------------------------------------+---------------------------------
 On jaunty, I found I was unable to build any of the activities because
 sugar.activity couldn't be found.  I discovered that sugar/activity.py was
 installed in install/lib/python2.6/dist-packages but that wasn't in my
 path (enter shell, execute python, import sys, print sys.path).  Python
 2.6 changes the exec directory in
 /usr/lib/pkgconfig/python2.6/pygtk-2.0.pc to
 pyexecdir=${exec_prefix}/lib/python2.6/dist-packages
 but /usr/lib/pkgconfig/python2.5/pygtk-2.0.pc has
 pyexecdir=${exec_prefix}/lib/python2.5/site-packages

 This logic is hardcoded in sjhbuild/config.py.  Probably pkg-config should
 be used to set the appropriate directory in the path going forward.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/494>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list