Hi there. I have a small game that I have written in Python using the Pygame library. I'm now banging my head against a wall because I am having significant trouble trying to figure out how users can install my game. I currently am using the default setuptools method of Python distribution but it always errors out when trying to downloads the Pygame dependancy. Since Pygame is not on PyPI, it has to be downloaded from its Git repo, and it will not install it.
Here is my setup.py script:
from setuptools import setup
setup(
name = 'SpaceInvaders',
description = 'Its space invaders...',
packages = ['spaceinvaders'],
package_data = {'spaceinvaders': ['data/*']},
install_requires = ['pygame'],
dependency_links = ['https://bitbucket.org/pygame/pygame'],
)
It fails to install pygame every time.
I have also tried freezing tools like py2exe and pyInstaller. However, every example I can find only deals with a single .py file. My game is a package with about 7 .py files including an __init__.py and a __main__.py. I have not been able to find any info on how to build an entire package like this into a .exe.
Any help is greatly appreciated. Thank You.