MeVisLab / pythonqt

Dynamic Python binding for Qt Applications
https://mevislab.github.io/pythonqt/
GNU Lesser General Public License v2.1
251 stars 89 forks source link

Improve PYTHONQTALL_CONFIG env var handling for CMD #214

Closed iakov closed 6 months ago

iakov commented 6 months ago

At least in CMD shell on Windows, the environment variable is passed as a whole single sting literal into assignment, thus it should be "parsed" somehow. The proposed solution also allows injecting some other expressions into the literal, however, this should be safe in general use. Fixes #211

iakov commented 6 months ago

Please, do not hesitate to squash-commit on merge. This fix was done from web-based editor, thus the history is a little bit messy.