Re: [PyInstaller] ValueError: Unable to configure formatter 'default'

2023-04-26 Thread 'Chris Barker - NOAA Federal' via PyInstaller
Hmm,Seems this is a bug / missing feature in PyIntaller. Writing to stdout/err is pretty common dnd can be done down in the stack of libraries, so not always in full control of the application author. Is there a /dev/null equiv on Windows? Or a “hidden” console that can be written to (I think

Re: [PyInstaller] CAN I HAVE PyInstaller embedded in the APP.EXE ?

2022-12-06 Thread 'Chris Barker - NOAA Federal' via PyInstaller
I’m going to guess that it could be made to work, but will be ugly.Is the only thing custom about the output app the new images? If so, I Would look into creating a full template app with pyInstaller and then simply replace the images with the custom ones to make the custom app, rather than

Re: [PyInstaller] How to use pip bundled with pyinstaller exe, to install python packages?

2022-11-22 Thread 'Chris Barker - NOAA Federal' via PyInstaller
I don’t know you actual use cas, but a few possibilities:Consider conda and “conda constructor” — it’s a way to make an installer for a fully functional self contained Python environment— it may support your use case.2) depending on the package, you may be able to install a new Python package with

Re: [PyInstaller] Pyinstaller for Windows can't find custom module

2022-05-14 Thread 'Chris Barker - NOAA Federal' via PyInstaller
Where/how do you install your utils module? I highly recommend that you make a package out of it and install it. That’s a good idea for all sorts of reasons, and will likely make PyInstaller happier. -CHB Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR

[PyInstaller] Error with finding files in bundle on OS-X 11 (Big Sur)

2021-12-17 Thread 'Chris Barker - NOAA Federal' via PyInstaller
I've just got a new mac with OS-X 11.6 (still Intel). But when I try to run a PyInstaller built application, I get this error: No document available for {'mime': 'application/x-maproom-project-zip', 'loader': , 'uri': 'template://default_project.maproom'} And the app won't start. This has

Re: [PyInstaller] Re: Python/C API project - compile to exe

2020-07-27 Thread 'Chris Barker - NOAA Federal' via PyInstaller
Thanks for all the answers. I think I got a lesson for the future, to firstly check if something is possible and then do it. :) I'll check nuitka and shedskin, Also Cython — it can be used in “embedded” mode as well. https://cython.readthedocs.io/en/latest/src/tutorial/embedding.html but I

Re: [PyInstaller] Decompiling an pyinstaller exe and compatibility with BeautifulSoup+Request

2020-05-31 Thread 'Chris Barker - NOAA Federal' via PyInstaller
> > The commercial value of my utility is not big. I just wish complicate life > who wish use my source. Also the speed is not so important. Then you are fine with pyInstaller, only shipping *.pyc files. A determined hacker can decompile it fairly easily, but unless you have proprietary

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

2020-03-29 Thread 'Chris Barker - NOAA Federal' via PyInstaller
Optional imports are the bane of systems like this:-( Also, note that SciPy imports most of its sub-modules automatically, so if you need one function, you get the whole thing. Though in this case, it looks like you don’t need it at all, so that’s good. Meanwhile, QT is huge, and you do need

Re: [PyInstaller] Will pay for packing my app into exe

2020-03-22 Thread 'Chris Barker - NOAA Federal' via PyInstaller
> I built the game using Python 3.8 - 64bit in Windows and it uses the following dependencies: Are you using any 3.8 only features? Maybe 3.7 would work just as well. PyInstaller does not yet support Python 3.8 due development for this is not yet funded. It looks like the OP is offending

[PyInstaller] How to include an entire package unaltered?

2020-01-28 Thread 'Chris Barker - NOAA Federal' via PyInstaller
I'm trying to package up a Pyramid App, and running onto issues with various run-time magic that requires that the package be there in its entirely. (the package of my app) Back in the day, I did similar work with py2app, and it was really easy to tell it to simply include a package as is.

Re: [PyInstaller] PyInstaller Fails for win32com Recursion max depth exceeded

2020-01-28 Thread 'Chris Barker - NOAA Federal' via PyInstaller
On Tuesday, January 7, 2020 at 9:35:59 AM UTC-8, Israel Brewster wrote: > > I ran into the same issue (at least the same error), though I believe it > was with a different library. The solution was to add the following two > lines toward the top of the .spec file I was feeding to pyinstaller

[PyInstaller] Re: Make pyinstaller .exe in linux

2020-01-28 Thread 'Chris Barker - NOAA Federal' via PyInstaller
On Monday, January 6, 2020 at 4:01:48 PM UTC-8, KERSA OYUNTR wrote: > > Hello! My operating system is GNU / linux. I can't make .exe .py files on > linux. > if you mean a Windows exe, then you REALLY want to build on Windows. if you mean "an executble version for linux", then: - the

[PyInstaller] Re: Unsupported packages in my app

2020-01-28 Thread 'Chris Barker - NOAA Federal' via PyInstaller
On Sunday, January 26, 2020 at 6:51:00 AM UTC-8, Scott Swain wrote: > > Noticing every package in my application is not on your "supported > packages" list. > that is a list about the complex ones -- all the stdlib ones, like math and random should work fine I tried anyway to build. > The