OK - i see thanks.

So i create this spec-file one time - change it - and save it with another 
name

Then when i have a py-program which uses pycountry again i have to:
- rename the spec-file to the name of the (new) python-program - eg. 
NewProgram.spec
- and then run one time: pyinstaller - --clean NewProgram.spec  -onefile 
NewProgram.py

(or is the --clean comamnd not more necessary here - cause he takes it 
auomatically with the above statement?)
[email protected] schrieb am Dienstag, 29. September 2020 um 09:33:39 UTC+2:

> You only need to go through 2 steps the first time you do this. Create 
> your .spec file and amend it as needed, saving it with a different name so 
> as not overwrite it. Then you will only have to run 1 step in the future:
>
> pyinstaller my_temp2.spec
>
> On Fri, 18 Sep 2020 14:07 bwoodsend, <[email protected]> wrote:
>
>> Umm, yes and no. For your step 1 you can use `pyi-makespec --onefile 
>> temp2.py` which will generate the spec file (instant) without launching a 
>> build (slow). Then proceed to your step 2. So it's two commands but it only 
>> builds once. 
>>
>> -- 
>> 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/3af7dae7-8029-456e-bac9-828652e99762n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/pyinstaller/3af7dae7-8029-456e-bac9-828652e99762n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/a8da3619-d520-4a28-be63-11af083b6358n%40googlegroups.com.

Reply via email to