Does pyinstaller need the pyc even if we don’t specify the one file 
parameter?

Em terça-feira, 23 de abril de 2024 às 17:19:38 UTC-3, Elliot Garbus 
escreveu:

> Pyinstaller works by bundling the .pyc files.  If you want to hide your 
> source code more complely you could compile some of you python modules with 
> Cython to c.  See: 
> https://pyinstaller.org/en/stable/operating-mode.html#hiding-the-source-code
>
>
> On Tuesday, April 23, 2024 at 12:57:16 PM UTC-7 Marcos Albuquerque wrote:
>
>> Dear PyInstaller Support Team,
>>
>> I hope this message finds you well. I'm currently working on a project 
>> where I'm utilizing PyInstaller for generating executables from Python 
>> scripts. During this process, I noticed that PyInstaller includes .pyc 
>> files in the PYZ file.
>>
>> I understand the necessity of .pyc files during the compilation process, 
>> but for deployment purposes, I would prefer not to include them in the 
>> final executable.
>>
>> Could you please provide guidance on whether it's possible to exclude 
>> .pyc files from being added to the executable during the generation 
>> process? If it's possible, I would greatly appreciate any instructions 
>> or pointers on how to achieve this.
>>
>> Thank you very much for your assistance. I look forward to your response.
>>
>> Best regards,
>> Marcos Albuquerque.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/a189bf36-5031-4b8f-9df0-9bcee6f6e87an%40googlegroups.com.

Reply via email to