Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! Thank you. I believe you have exhausted my question supply for now. URL: https://forum.audiogames.net/post/437320/#p437320 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : Sam_Tupy via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I believe there is some sort of optimization that is performed where the faster things are loaded before the slower things. It follows the same python import order. First it checks for C extensions, because those would be the quickest

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! So slightly off topic, when I compile I usually have two versions of the script. I have the .py version, and I have the .pyd.  What makes the program include the .pyd and not the .py? This is just out of curiosity. URL: https

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : Sam_Tupy via Audiogames-reflector
Re: Pyinstaller not listening to me, help! Hooks can be used for hidden imports, but they are able to be used for much much more, and the correct line sintax is in my post unless the forum broke it. Other than that though no you did not I believe URL: https://forum.audiogames.net/post

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! So, just to clarify: Hooks are over glorified hidden imports. Their files contain the line hidden imports= module names. Spec files are preset arguments that define your program. they ignore any arguments that are passed along to them

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! So, just to clarify: Hooks are over glorified hidden imports. Their files contain the line hidden imports= module names. Spec files are preset arguments that define your program. they ignore any arguments that are passed along to them

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : Sam_Tupy via Audiogames-reflector
Re: Pyinstaller not listening to me, help! OK, hold on, lets clear up a bit of confusion here. Now that I have more than 5 minutes to write a post at the end of a class, here we go. So paul is somewhat wrong, if you use cython, you will likely want to use a pyinstaller hook to manage your

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! Post 15, I’m not sure I fully understand you. Why would using UPX break things. When I did not supply that argument, it worked fine. URL: https://forum.audiogames.net/post/437262/#p437262 -- Audiogames-reflector mailing list Audiogames

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: Pyinstaller not listening to me, help! do the following:pyinstaller script.py --onefile --windowed --noupxthen edit the spec file and change whatever you want (you can turn Console to False or True, which is the oposit of --windowed mode).also, do not pack with upx in first hand

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : keithwipf1 via Audiogames-reflector
Re: Pyinstaller not listening to me, help! For simple cases, you can just use --hiddenimports from the commandline.For instancepyinstaller -F --hiddenimport=sound_lib myapp.py URL: https://forum.audiogames.net/post/437230/#p437230 -- Audiogames-reflector mailing list Audiogames

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector
Re: Pyinstaller not listening to me, help! most likely when you install modules, they already have an hook by default so you don't have to worry about that.Hooks are used to manage hidden imports.I apologize, it was my fault mentioning hooks, because I missunderstood what you were

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I still do not understand.  If I have multiple modules, do I create a hook file for each one?  Why is using Hooks better than hidden imports?  Could you maybe create a set of sample scripts and upload them so I can take a look  at the structure

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I still do not understand.  If I have multiple modules, do I create an hook file for each one?  Why is using Hooks better than hidden imports?  Could you maybe create a set of sample scripts and upload them so I can take a look  at the structure

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector
Re: Pyinstaller not listening to me, help! Hooks are basically python modules which allow you to setup hidden imports and exluded imports for your application.They are basically used for certain modules if for example they have some dependencies to import.Sof if you for example created

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! Can you show me an example of using hooks instead of hidden imports? URL: https://forum.audiogames.net/post/437207/#p437207 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector
Re: Pyinstaller not listening to me, help! you use things called hooks.Those hooks define which modules should the application import. URL: https://forum.audiogames.net/post/437193/#p437193 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! So if you don't use .spec files, how do you tell pyinstaller what cython modules it should include? URL: https://forum.audiogames.net/post/437192/#p437192 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : Sam_Tupy via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I'm slightly confused. Pyinstaller's job is to create an exe. Also, try adding the arguments such as --onefile to the start of the command before the filename, like pyinstaller --onefile script.py. Also, delete the spec and use a py file instead

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : Sam_Tupy via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I'm slightly confused. Pyinstaller's job is to create an exe. Also, try adding the arguments such as --onefile to the start of the command before the filename. Also, delete the spec and use a py file instead. A spec file contains all those

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : Liam via Audiogames-reflector
Re: Pyinstaller not listening to me, help! what happens if you compile your code uncythonized? URL: https://forum.audiogames.net/post/437143/#p437143 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman

Re: Pyinstaller not listening to me, help!

2019-05-29 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! From what I could tell, it gives me the same errors as it did before, which does not really impact the application. I might have missed it though, it’s a lot of text URL: https://forum.audiogames.net/post/437135/#p437135 -- Audiogames

Re: Pyinstaller not listening to me, help!

2019-05-28 Thread AudioGames . net Forum — Developers room : pauliyobo via Audiogames-reflector
Re: Pyinstaller not listening to me, help! does it give you any warning during the compilation process? URL: https://forum.audiogames.net/post/437064/#p437064 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin

Re: Pyinstaller not listening to me, help!

2019-05-28 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I am aware of how Cython works.  My problem is not with that. My problem comes with pyinstaller not listening to the commands I supply to it. URL: https://forum.audiogames.net/post/437053/#p437053 -- Audiogames-reflector mailing list

Re: Pyinstaller not listening to me, help!

2019-05-28 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Re: Pyinstaller not listening to me, help! I am aware of how Cython works.  My problem is not with that. My problem comes of the pyinstaller not listening to the commands I supply to it. URL: https://forum.audiogames.net/post/437053/#p437053 -- Audiogames-reflector mailing list

Re: Pyinstaller not listening to me, help!

2019-05-28 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: Pyinstaller not listening to me, help! regarding cython, first you should compile those pyx files into pyd (by cythonizing).then, try to compile using pyinstaller mainscript.py and then change the spec file and add everything that those pyd files need in hiddenimports, and you are good

Pyinstaller not listening to me, help!

2019-05-28 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
Pyinstaller not listening to me, help! So, my pyinstaller is dead set on creating exes for some reason.If I try and compile a program that uses cython scripts, the thing goes nuts. Typing the following yields the same result, that is, an exe which does not show tracebacks unless I redirect