Author jason.coombs
Recipients dstufft, jason.coombs, merwok
Date 2016-08-31.19:06:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472670374.61.0.857588658064.issue27919@psf.upfronthosting.co.za>
In-reply-to
Content
extra_path is implicated in [this failure](https://github.com/jaraco/rwt/issues/7) and in general in any attempt to install to a path in PYTHONPATH that's not in site-packages. For example:

$ python -m pip install -t foo newrelic
Collecting newrelic
Installing collected packages: newrelic
Successfully installed newrelic
$ ls foo
newrelic-2.68.0.50		newrelic-2.68.0.50.dist-info	newrelic.pth
$ PYTHONPATH=foo python -c "import newrelic"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'newrelic'


As a result, extra_path (undocumented per issue901727) causes disruption in tools like rwt, and gives the packager the ability to break the convention for installing the package, relying on .pth files which only work in select locations.

I suggest we deprecate extra_path.
History
Date User Action Args
2016-08-31 19:06:14jason.coombssetrecipients: + jason.coombs, merwok, dstufft
2016-08-31 19:06:14jason.coombssetmessageid: <1472670374.61.0.857588658064.issue27919@psf.upfronthosting.co.za>
2016-08-31 19:06:14jason.coombslinkissue27919 messages
2016-08-31 19:06:14jason.coombscreate