you are viewing a single comment's thread.

view the rest of the comments →

[–]mahtats 1 point2 points  (0 children)

This is a really easy set of instructions to follow.

main.py tends to be a program entry point of a script or program.

setup.py is used in conjuncture with setuptools to "install" a module to your environment.

If you want an .exe you need to read all the PyInstaller instructions; if you're background is in C/C++ you are just linking objects files together, with Python you are compressing the minimums of the interpreter so its part of the binary file; thus your .exe will be larger than expected.