Comment 5 for bug 1518278

Revision history for this message
me-kell (me-kell) wrote :

@jazzynico: IMHO using the global PATH and PYTHONPATH is not the optimal solution. For "normal" users this would be ok. But for developers who probably use different python environments this is not the best solution.

What are the arguments against setting a python environment for inkscape in the preferences?

If the only argument against is not to mess with the preferences, one solution (I call it solution D) could be a python environment file, e.g. "python.env" (or whatever name). This file would store PATH and PYTHONPATH and (if wished) other environment settings needed for the python environment. One could also think about a minimalistic algorithm: if a file "python.env" is present in one the preferences directories, then set this environment for python, else revert to the internal python environment.