[Bugs] #1002 UNSP: Upgrade version of pyBox2D used in Physics to 2.0.2b1

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Wed Jul 15 08:59:06 EDT 2009


#1002: Upgrade version of pyBox2D used in Physics to 2.0.2b1
------------------------------------------+---------------------------------
    Reporter:  brian                      |          Owner:  brian                      
        Type:  task                       |         Status:  reopened                   
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Physics                    |        Version:  Unspecified                
    Severity:  Minor                      |     Resolution:                             
    Keywords:                             |   Distribution:  Unspecified                
Status_field:  Assigned                   |  
------------------------------------------+---------------------------------

Comment(by brian):

 AH!

 On XO I was testing Physics on, I had previously installed pkg_resources
 -- XOs do not have it by default.  Therefore, the current git Physics does
 not launch on the XO, saying:

 {{{
 Import error: no module named pkg_resources.
 }}}

 The fix is to:

 {{{
 cd lib
 unzip *.egg
 vi physics.py # and add sys.path.append("lib/")
 }}}

 This is the only way I can think of to allow a machine without setuptools
 to import a .egg.

 Do we leave both folders and both .eggs in the lib/ directory?

 I do like how the .eggs are contained and have library versions in their
 titles.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1002#comment:13>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list