guetzli-recursively-gui/.eggs/py2app-0.12-py3.6.egg/py2app/recipes/pygame.py

15 lines
405 B
Python
Raw Normal View History

2017-04-20 00:57:59 +02:00
import os
def check(cmd, mf):
m = mf.findNode('pygame')
if m is None or m.filename is None:
return None
def addpath(f):
return os.path.join(os.path.dirname(m.filename), f)
RESOURCES = ['freesansbold.ttf', 'pygame_icon.tiff', 'pygame_icon.icns']
result = dict(
loader_files = [
('pygame', map(addpath, RESOURCES)),
],
)
return result