""" Script for building the example. Usage: python setup.py py2app """ from setuptools import setup NAME = 'ZOMBIE-D' VERSION = '0.9' setup( data_files=['data'], app=["shootkill.pyc"], setup_requires=["py2app"], )
When I try to use shootkill.pyc I get an error saying:
co = compile(contents, pathname, 'exec', 0, True) TypeError: compile() expected string without null bytes
However, the game works when you run the .pyc with Python Launcher. Thanks in advance!