1
Vote

Support custom layouts and .zip files for standard library

description

Right now, when adding the interpreter, the path to stdlib is always path to interpreter binary + \Lib. This is not always true - e.g. in Maya, it is instead stored in python26.zip that's next to their .exe. We should let the user input an arbitrary path to the library, and support zip files as well as folders.

comments

Zooba wrote Mar 4 at 6:51 PM

Arguably we should automatically include $(PythonDLLPath)[:-3]+"zip" (or safe equivalent), which is what CPython does (based on import sys; sys.path for 2.6 and 3.3). That assumes that the CPython DLL has not been renamed, but in that case the lookup may fail anyway.