-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build a Python app with PyInstaller #2950
Comments
Thanks for the report. The upstream Python component has changed. That change broke the tutorial. We hope to fix the tutorial soon to support using the newer upstream Python component. |
Can I get the old version of the upstream Python component? |
As far as I can tell from looking at the Docker images of pyinstaller, older images are not available. I'm investigating the bug now, using the investigation results that Gan Ainm has reported on WEBSITE-726 and on JENKINS-49278. I think it may be simpler to convert the deploy step to use a shell call to docker rather than the current docker.image call. However, still needs more exploration. |
Requires the addition of a step that creates a new directory on each new build so that pyinstaller has a clean directory to prepare the distribution. That step needs a copy of the compiled code, so a `stash` step is added to the compile phase. Includes an environment block to reduce the length of the lines in the tutorial. Explanation of the environment block is included. Includes a description of BUILD_ID and a link to environment variables. Includes a cleanup step in the post section to remove the artifacts generated by the 'Deliver' stage. Without that step, each job leaks more files than necessary. If there is concern at the addition of an unexplained cleanup step, it could be removed without harming the tutorial.
Problem with: Build a Python app with PyInstaller, source file
I am using an old VOSTRO Dell I5 core laptop with recently upgraded win 10 pro. So even though I am running on windows, i am using a linux env. The first two stages of this tutorial work great! I learned a lot!!! That's the Build and the Test. However the third stage Deliver crashes and burns.. I am not sure what I am doing wrong? Thanks --A
log.txt
The text was updated successfully, but these errors were encountered: