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

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

2024-12-09 Thread Ilya Kazakevich via python-win32
Hello, I create an environment on one Windows machine and then move it to another one. Once I call `pip install` it creates `.exe` files for tools i.e `poetry.exe`, `django-admin.exe` e.t.c. This is done by a class called `ScriptMaker` as I see. The problem is it sets a full path (`sys.executable`