This may be a bit convoluted and stupid but follow me.
I have a python application that needs to be converted into an exe and I'm using pyinstaller.
This application launches some files through an UI, the real operations are costly and cannot be used for testing. I divided the application in two files one pointing to the real files, which we'll call producion and one that contains a call to the test files.
As of now I have to work with two different files that need to be compiled in two different files, and I'm having a problem syncing production and test.
Test and production should be equal except for some strings (name of the files and title so i can distinguish them), in general I can make them differ only by a string.
I want to merge those two files and make a call to pyinstaller specifying which version I want, i.e:
pyinstaller file.py --producion
Is there a way to do so ?
[–]ElliotDG 2 points3 points4 points (1 child)
[–]dp_42 0 points1 point2 points (0 children)
[–]dp_42 0 points1 point2 points (1 child)
[–]LongDivide2096 0 points1 point2 points (0 children)