On 2018-09-14 16:39, Paul Moore wrote:
My understanding (and I'm not an expert here, so hopefully someone else will confirm or correct) is that yes, the data directory is installed to "the installation root", which is $VIRTUAL_ENV for a virtualenv, and "something else" for non-virtualenvs (I think it's / on Unix and sys.prefix on Windows, no idea what happens for user installs).
More precisely: it's always sys.prefix for non-user installs (which is "/usr" not "/" on my system).
For user installs, it's site.USER_BASE which is "/home/jdemeyer/.local" for me.
I think that this works great, I see nothing to fix here (except being more explicit that absolute paths don't work).
Jeroen. -- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-le...@python.org https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/ Message archived at https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/PRYNKSX2ZSP3NVFRLSBXC7ETQ4PSOEXZ/