This powershell commands will help to run python script on the other PC (almost background install or even portable) if
- distributed py script requres non-defualt modules like Tkinter and pandas
- you distribute open-source on Windows which may not have python installed
- your end user wants easy run of scripts because too novice or too enlightened or your end user is auto/offline VM
Common problems with this scenario:
- even if end-user have python, libraries may be missing (pandas, etc)
- end-user may not be skilled enough to install python or may miss install options (for example, he may skip launcher, which is currently most fluent way)
- portable python is not officially supported
- Place your script instead of ./test/*, modify Install-Dependencies in ./src/install_py_env.ps1
- Copy whole folder to clean VM or test OS (skipping some files possible)
- Test creation of virtual environment and pip with install_py_env.bat
- Test if script works run_test_py_script.bat
- Test creation of portable virtual environment with install_portable_py.bat
- Copy whole folder including new large folders ./py_env and ./py_bin to clean VM or test OS (skipping some files possible)
- Test if script works run_test_py_script.bat