Re: [PyInstaller] Creating a version updater on my .exe created with pyinstaller

2020-03-27 Thread Patrick Caruana
I have recently started distributing a python program which had the same needs and I dealt with it in the following way. I'm not saying this is the best/only way, but just how I solved the problem: 1) use pyinstaller (NOT in single exe mode) to package the application - you will have an exe and lo

RE: [PyInstaller] Re: Is there any way to specify which modules to import?

2020-03-27 Thread Steve Barnes
My favourite technique to identify which dependencies I need is to create a clean venv and then try testing my code with it active. If I get an import error I can either look at why I need that import or, if it really is needed, simply pip install within the venv. Of course running pylint and a

Re: [PyInstaller] Re: Is there any way to specify which modules to import?

2020-03-27 Thread 'Chris Barker' via PyInstaller
On Fri, Mar 27, 2020 at 2:13 AM abhishek bhatta wrote: > I looked into that but there are too many packages that needs to be in the > exclude list. > you might take a step back and try to figure out *why* PyInstller thinks you need all those packages. Perhaps you can do your imports differently

Re: [PyInstaller] Re: Is there any way to specify which modules to import?

2020-03-27 Thread Eric Fahlgren
But that's basically what you are doing by feeding PyInstaller your script. PyInstaller scans your source for imports and only includes what it finds by searching the dependencies exhaustively. I'm guessing if you try to do this manually, you are going to run into grief pretty quickly as it's a v

RE: [PyInstaller] Creating a version updater on my .exe created with pyinstaller

2020-03-27 Thread Steve Barnes
Deniz, Take a look at PyUpdater - https://www.pyupdater.org/ (even says it wouldn’t be possible without pyinstaller. Steve Barnes From: pyinstaller@googlegroups.com On Behalf Of Deniz Sent: 26 March 2020 21:56 To: PyInstaller Subject: [PyInstaller] Creating a version updater on my .exe creat

[PyInstaller] Creating a version updater on my .exe created with pyinstaller

2020-03-27 Thread Deniz
Hey guys, I wanted to create a version updater for my python program which would basically update the version of it to the most recent. As I give my .exe out to people, I want them to be able to click a button on the app which allows them to get the most recent update rather than manually sea

[PyInstaller] Re: Is there any way to specify which modules to import?

2020-03-27 Thread abhishek bhatta
Thanks Amir, I looked into that but there are too many packages that needs to be in the exclude list. That is going to be an overhead, is there some way to just point which packages to import. On Friday, March 27, 2020 at 12:50:07 AM UTC+5:30, Amir Rossert wrote: > > Hi, try to look at —hidden-