File size: 544 Bytes
e53fda1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from distutils.core import setup

import py2exe
import glob

setup(
    # this is the file that is run when you start the game from the command line.
    console=["main.py"],
    # data files - these are the non-python files, like images and sounds
    data_files=[
        ("sprites", glob.glob("sprites\\*.json")),
        ("sfx", glob.glob("sfx\\*.ogg") + glob.glob("sfx\\*.wav")),
        ("levels", glob.glob("levels\\*.json")),
        ("img", glob.glob("img\\*.gif") + glob.glob("img\\*.png")),
        ("", ["settings.json"]),
    ],
)