Re: [python-win32] Using relative python path in exe files generated by `ScriptMaker`

2024-12-10 Thread Ilya Kazakevich via python-win32
Hello, Thank you all. We run tests on CI and we need both Windows and Linux machines. We do not want to spend time installing lots of packages (we have lots of them) each time on each run (agents are shared and cleaned up after each run), so we use Docker on Linux. However, for Windows we can't do

Re: [python-win32] Using relative python path in exe files generated by `ScriptMaker`

2024-12-09 Thread Glyph
> On Dec 9, 2024, at 11:15 PM, Jacob Kruger wrote: > > Might not be relevant, if am misunderstanding something, but I generally just > use pip freeze > requirements.txt, shift that text file over to new > location/machine, create new virtual environment, and run pip install -r > requirements

Re: [python-win32] Using relative python path in exe files generated by `ScriptMaker`

2024-12-09 Thread Jacob Kruger
Might not be relevant, if am misunderstanding something, but I generally just use pip freeze > requirements.txt, shift that text file over to new location/machine, create new virtual environment, and run pip install -r requirements.txt from there to recreate environment, and, I do this across d

Re: [python-win32] Using relative python path in exe files generated by `ScriptMaker`

2024-12-09 Thread Glyph
Hi Ilya, The main solution here is "don't do that". You can build binary wheels and share them between machines, but venvs are not meant to be shared. I just posted about this the other day: . Wny are you trying to copy a venv from one machi