Open overfl0 opened 2 years ago
Termcolor does from termcolor import VERSION
which imports a file relative to setup.py
.
This does not work when ._pth is present because pip spawns a subprocess and (ironically) that makes the subprocess be spawned in isolated mode as well (as it should!)
References:
https://peps.python.org/pep-0517/#appendix-a-comparison-to-pep-516
Probably has something to do with the ._pth file