data-apis/python-record-api

Error: editable mode currently requires a setup.py based build

aktech opened this issue · 2 comments

At the moment the README.md suggests to install the package via pip install -e .

I get the following error, when I try to install in editable mode:

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /Users/aktech/quansight/python-record-api
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

I believe the fix is to change that to:

pip install .

This worked for me.

Thanks for raising this! Yep, those instructions are wrong. If you wanna install it so that you dont have to reinstall after every change, you can use flit install --symlink. I updated the README with these instructions.

If you wanna install it so that you dont have to reinstall after every change, you can use flit install --symlink.

Nice! that's very cool!