Am 23.03.2018 um 10:41 schrieb Eduard Braun:
Am 23.03.2018 um 03:44 schrieb Martin Owens:
On Fri, 2018-03-23 at 01:22 +0100, Maren Hachmann wrote:
- Btw. as far as I understand, our Windows versions come with pip as
part of the python installation, to facilitate installing extension dependencies (Eduard will know more about this). Doesn't look like a virtualenv to me, though.
Pip may be all that's required, you don't need virtualenv to have a custom prefix:
https://stackoverflow.com/questions/2915471/install-a-python-package-in to-a-different-directory-using-pip
I believe this eliminates one of the problems, no extra deps (on windows at least) and removing binaries from the conf.
Martin,
I'll stop you right there (I'd prefer if we stopped "eliminating" problems that swiftly without actual investigation):
- pip is currently *not* included in Windows builds (it was for a short time when I last updated the devlibs - which we do not use anymore - but it was completely experimental back then and usage was not straightforward with some things not working as one would expect). Investigating the usage of pip is on my todo list but I did not find the time so far.
- Eduard, I had looked and had found the following in Inkscape 0.92.2, isn't that pip? Else I wouldn't have written anything about it here. I also understood that some people had been using it for installing dependencies - but it might be they had to install it separately.
https://i.imgur.com/R9YSqiE.png
Or maybe it just doesn't work, but is included? Or it's something else...? Sorry, I don't know enough.
Maren
- Even *if* we get pip do work properly you need to be aware that it's generally not possible to install any modules with it that contain binary components. pip is not magically allowing us to compile stuff on-the-fly. It can only work for pure Python modules (and even that fails occasionally, especially if any non-standard setups are attempted - like the one you seem to suggest).
Regards, Eduard