py2exe
Здравствуйте. Ребята, как мне скомпилировать в экзешник Snowballz? У меня он вроде без вопросов конвертируется, но когда дело до запуска - ругается на OpenGL:
Traceback (most recent call last):
File "snowballz.py", line 4, in
File "player.pyc", line 2, in
File "ai.pyc", line 2, in
File "data.pyc", line 2, in
File "textures.pyc", line 2, in
ImportError: No module named OpenGL.GL
setup.py:
from setuptools import setup, find_packages
import py2exe
setup(
name = "snowballz",
version = "0.9.3",
url = "http://joey101.net/snowballz/",
packages = find_packages(),
include_package_data = True,
author = "Joey Marshall",
author_email = "web@joey101.net",
description = "A fun RTS game featuring snowball fights with penguins.",
license = "GPL",
keywords = "snowballz game rts penguin snowballfight snowball",
platforms = 'any',
long_description = "...",
console = ["snowballz.py"]
)
Traceback (most recent call last):
File "snowballz.py", line 4, in
File "player.pyc", line 2, in
File "ai.pyc", line 2, in
File "data.pyc", line 2, in
File "textures.pyc", line 2, in
ImportError: No module named OpenGL.GL
setup.py:
from setuptools import setup, find_packages
import py2exe
setup(
name = "snowballz",
version = "0.9.3",
url = "http://joey101.net/snowballz/",
packages = find_packages(),
include_package_data = True,
author = "Joey Marshall",
author_email = "web@joey101.net",
description = "A fun RTS game featuring snowball fights with penguins.",
license = "GPL",
keywords = "snowballz game rts penguin snowballfight snowball",
platforms = 'any',
long_description = "...",
console = ["snowballz.py"]
)
