diff options
| author | Jim Porter <jporter@mozilla.com> | 2016-12-11 18:59:34 -0600 |
|---|---|---|
| committer | Jim Porter <jporter@mozilla.com> | 2016-12-29 14:50:28 -0600 |
| commit | 8c1f489f09434f42080397367b6491e75f64d838 (patch) | |
| tree | 4ccf14b7aad0bb2c3d5fca789a2a404afd73c1fc /setuptools/command/develop.py | |
| parent | a5b81d8ea0b6aeba1a59e77d4d3783db4b9e23c6 (diff) | |
| download | python-setuptools-git-8c1f489f09434f42080397367b6491e75f64d838.tar.gz | |
Fix usage of extras when installing via Wheels; resolves #882
When resolving requirements, we now pass the list of extras we're using along
to Marker.evaluate, since we want to include the extra's requirements in our
list of required packages. This is sort of papering over the underlying issue;
namely, that the dependency map for dist-info distributions looks like:
{ None : ['common_dep'],
'my_extra': ['extra_dep; extra = "my_extra"'] }
If we eliminated 'extra = "my_extra"' when creating this map, the problem
would go away because the WorkingSet would no longer treat `extra_dep` as a
purely optional dependency. However, this would require copying and
manipulating Requirement objects, which is somewhat more complicated than the
current solution.
Diffstat (limited to 'setuptools/command/develop.py')
0 files changed, 0 insertions, 0 deletions
