Closed
Description
Environment
- pip version: 19.1.1 (or dev)
- Python version: 3.7.4
- OS: MacOS
Description
Trying to re-vendor packages with invoke vendoring.update
fails. We're hitting #6222 there.
Expected behavior
Packages can be re-vendored cleanly.
How to Reproduce
- Install all dependencies for
invoke
and ourtasks/
. - Run
invoke vendoring.update
.
Output
Actual error when flit fails to install with setup.py install
.
Running setup.py install for flit ... error
ERROR: Complete output from command /Users/pradyunsg/.pyenv/versions/3.7.4/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import setuptools, tokenize;__file__='"'"'/private/var/folders/4d/bt0_xfx56bjfmmt2bv3r5_qh0000gn/T/pip-install-mnfb_y9p/flit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/4d/bt0_xfx56bjfmmt2bv3r5_qh0000gn/T/pip-record-g82cm62s/install-record.txt --single-version-externally-managed --compile:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'