MCPcopy Index your code
hub / github.com/kivy/python-for-android / fry_eggs

Method fry_eggs

pythonforandroid/bootstrap.py:441–450  ·  view source on GitHub ↗
(self, sitepackages)

Source from the content-addressed store, hash-verified

439 logger.debug('Failed to strip ' + filen)
440
441 def fry_eggs(self, sitepackages):
442 info('Frying eggs in {}'.format(sitepackages))
443 for d in listdir(sitepackages):
444 rd = join(sitepackages, d)
445 if isdir(rd) and d.endswith('.egg'):
446 info(' ' + d)
447 files = [join(rd, f) for f in listdir(rd) if f != 'EGG-INFO']
448 for f in files:
449 move(f, sitepackages)
450 rmdir(d)
451
452
453def expand_dependencies(recipes, ctx):

Calls 3

moveFunction · 0.90
rmdirFunction · 0.90
formatMethod · 0.80

Tested by 1