Skip to content
Permalink
Browse files
reconfigure syspath/module import strategy
  • Loading branch information
walterbender committed Dec 21, 2015
1 parent 383bbae commit fdee879
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Empty file.
@@ -30,7 +30,7 @@

# Load Box2D
try:
import Box2D as box2d
import lib.Box2D as box2d
except:
print 'Could not load the pybox2d library (Box2D).'
print 'Please run "setup.py install" to install the dependencies.'
@@ -35,8 +35,9 @@
from pygame.locals import *
from pygame.color import *

sys.path.insert(0, 'lib/')
import Box2D as box2d
# from sugar3.activity import activity
# sys.path.insert(0, os.path.join(activity.get_bundle_path(), 'lib'))
import lib.Box2D as box2d
import myelements as elements

import tools

0 comments on commit fdee879

Please sign in to comment.