[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Distributing games for Windows - Pynsist



Hi Jorge,

On 25 October 2016 at 00:00, Jorge Maldonado Ventura <jorgesumle@xxxxxxxxxxxxx> wrote:

Here is what I got, but I want to distribute just one executable file; can I do that with your program?

~/Code/Repos/bullet_dodger_stable/build/nsis $ ls -l
total 49272
drwxr-xr-x 2 jorge jorge     4096 Oct 24 18:57 assets
-rw-r--r-- 1 jorge jorge 21111344 Oct 24 19:05 Bullet_dodger_1.6.10.exe
-rw-r--r-- 1 jorge jorge     1293 Oct 24 19:05 Bullet_dodger.launch.pyw
-rw-r--r-- 1 jorge jorge      790 Oct 24 18:56 bullet.ico
-rw-r--r-- 1 jorge jorge     6344 Oct 24 19:05 installer.nsi
-rw-r--r-- 1 jorge jorge    34570 Oct 24 18:52 LICENSE
drwxr-xr-x 4 jorge jorge     4096 Oct 24 19:05 pkgs
drwxr-xr-x 2 jorge jorge     4096 Oct 24 19:05 Python
-rw-r--r-- 1 jorge jorge 29269656 Oct 24 19:00 python-3.5.2.exe
-rw-r--r-- 1 jorge jorge     2360 Oct 24 18:48 windowsversion.nsh

"Bullet_dodger_1.6.10.exe" is the only file you need to distribute; the others were involved in building that. However, it is an installer - so when the user double clicks it, they will get a standard installation wizard to set up your game. Pynsist does not make an exe that runs your game directly.

Thomas