delph-in / pydelphin

Python libraries for DELPH-IN
https://pydelphin.readthedocs.io/
MIT License
77 stars 27 forks source link

install `-e` #389

Closed arademaker closed 7 months ago

arademaker commented 7 months ago
% pip install -e . 
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /Users/ar/r/pydelphin
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)

need to udpate

https://pydelphin.readthedocs.io/en/latest/guides/setup.html

goodmami commented 7 months ago

Please upgrade your version of pip: pip install --upgrade pip

As of version 21.3 (which is over 2 years old now), pip can install in editable mode for PEP-660-compatible backends, such as Hatch.

arademaker commented 7 months ago

indeed, sorry.

goodmami commented 7 months ago

No worries. Sometimes I also find myself ignoring pip's incessant warnings to upgrade itself.

And thanks for raising issues as you come across problems!