Open maarten-ic opened 2 years ago
Relevant discussion at https://github.com/pypa/setuptools/issues/230
Adding the --use-pep517
flag to get pip install --use-pep517 -e .[dev]
resolves the problem. I believe PEP517 is enabled by default when using pyproject.toml, so at that point the flag can be removed again.
When following these instructions on the documentation, the package is installed through
pip install -e .[dev]
.Unfortunately, editable installs are not supported with a custom
pkg_dir
in setup.py. See for instance this ticket: https://github.com/pypa/pip/issues/3160 Eventually you'll get ModuleNotFoundErrors like below:Suggested immediate fix: update documentation to not use
pip install -e
.If I have better suggestions I'll update this issue.