This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, dstufft, eric.araujo, jaraco, ncoghlan
Date 2016-09-01.10:50:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472727006.11.0.441744359298.issue27919@psf.upfronthosting.co.za>
In-reply-to
Content
I think there are two time frames to look at here:

1. How do we make it easier for folks to work with existing packages like the newrelic one?

For that, it may make sense for at least setuptools to override extra_path when using installation targets other then sysconfig.get_path("purelib") and sysconfig.get_path("platlib") such that they get the same result as if "extra_path" wasn't there.

We know the setting isn't going to work, so ignoring it actually seems like it may be the more user friendly option.

2. How do we persuade publishers to stop using the "extra_path" feature in the first place?

I'm less sure of the benefits of that step, as I'm not sure why anyone would choose to use extra_path in the first place - the common "*.pth" file means you can still get conflicts, even with a versioned path name, and if you keep the dist-into directory, --single-version-externally-managed already gives you version info directly in the filesystem.

The use case does seem obscure enough that we could deprecate it as an undocumented feature that is incompatible with non-site-packages installs, and then see if anyone objects to the deprecation.
History
Date User Action Args
2016-09-01 10:50:06ncoghlansetrecipients: + ncoghlan, brett.cannon, jaraco, eric.araujo, dstufft
2016-09-01 10:50:06ncoghlansetmessageid: <1472727006.11.0.441744359298.issue27919@psf.upfronthosting.co.za>
2016-09-01 10:50:06ncoghlanlinkissue27919 messages
2016-09-01 10:50:05ncoghlancreate