0

I have created a game on Python, but other people can't play it since they do not have PyGame. I would like to do a package with Python and PyGame in it. How can I do it?

1
  • It'd be actually the best solution to require the users to install Pygame. You don't have to supply every requirement for them. Commented Sep 17, 2014 at 17:55

2 Answers 2

1

I second what user286058 says, but if you are on a different OS, there are other options.

Mac OS X

py2app or platypus.

Windows

py2exe.

Linux

Probably a little bit more complicated. I have never done this before, but you can get more info here

Or, you can just put all external libraries in a folder and zip or rar them. This is probably the easiest solution.

Sign up to request clarification or add additional context in comments.

Comments

0

We are currently packing our Python application (not based on pygame, but with various dependencies) using:

Once you get to build the first running packages, it's ok, but at first it was a bit tedious to make sure all the resources are correctly gathered and configured.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.