summaryrefslogtreecommitdiff
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorJim Porter <jporter@mozilla.com>2016-12-11 18:59:34 -0600
committerJim Porter <jporter@mozilla.com>2016-12-29 14:50:28 -0600
commit8c1f489f09434f42080397367b6491e75f64d838 (patch)
tree4ccf14b7aad0bb2c3d5fca789a2a404afd73c1fc /setuptools/command/develop.py
parenta5b81d8ea0b6aeba1a59e77d4d3783db4b9e23c6 (diff)
downloadpython-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