$ pip install -e .
Obtaining file:///Users/ssbarnea/c/os/rich
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: typing-extensions<4.0.0,>=3.7.4 in /Users/ssbarnea/.pyenv/versions/3.8.2/lib/python3.8/site-packages (from rich==7.0.0) (3.7.4.2)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /Users/ssbarnea/.pyenv/versions/3.8.2/lib/python3.8/site-packages (from rich==7.0.0) (2.6.1)
Requirement already satisfied: colorama<0.5.0,>=0.4.0 in /Users/ssbarnea/.pyenv/versions/3.8.2/lib/python3.8/site-packages (from rich==7.0.0) (0.4.3)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /Users/ssbarnea/.pyenv/versions/3.8.2/lib/python3.8/site-packages (from rich==7.0.0) (0.9.1)
Installing collected packages: rich
Running setup.py develop for rich
ERROR: Command errored out with exit status 1:
command: /Users/ssbarnea/.pyenv/versions/3.8.2/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/ssbarnea/c/os/rich/setup.py'"'"'; __file__='"'"'/Users/ssbarnea/c/os/rich/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
cwd: /Users/ssbarnea/c/os/rich/
Complete output (3 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/ssbarnea/.pyenv/versions/3.8.2/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/ssbarnea/c/os/rich/setup.py'"'"'; __file__='"'"'/Users/ssbarnea/c/os/rich/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
noglob pip install -e . 5.32s user 0.79s system 98% cpu 6.225 total
pip 20.2.3 from /Users/ssbarnea/.pyenv/versions/3.8.2/lib/python3.8/site-packages/pip (python 3.8)
Describe the bug
When trying to install rich in editable mode user may get into error below. This is likely caused by current packaging configuration.
To Reproduce
Platform
Rich from master branch.