delph-in / pydelphin

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

delphin command line not installed? #386

Closed arademaker closed 8 months ago

arademaker commented 8 months ago
% python3 --version
Python 3.9.6

ar@tranco geoquery % python3 -m venv venv
ar@tranco geoquery % source venv/bin/activate

(venv) ar@tranco geoquery % pip install pip -U
Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (21.2.4)
Collecting pip
  Downloading pip-23.3.2-py3-none-any.whl (2.1 MB)
     |████████████████████████████████| 2.1 MB 296 kB/s 
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.2.4
    Uninstalling pip-21.2.4:
      Successfully uninstalled pip-21.2.4
Successfully installed pip-23.3.2

(venv) ar@tranco geoquery % pip install pydelphin
Collecting pydelphin
  Using cached pydelphin-1.9.0-py3-none-any.whl.metadata (11 kB)
Collecting penman (from pydelphin)
  Using cached penman-1.3.0-py3-none-any.whl.metadata (7.3 kB)
Collecting progress (from pydelphin)
  Using cached progress-1.6-py3-none-any.whl
Collecting pygments (from pydelphin)
  Using cached pygments-2.17.2-py3-none-any.whl.metadata (2.6 kB)
Using cached pydelphin-1.9.0-py3-none-any.whl (186 kB)
Using cached penman-1.3.0-py3-none-any.whl (43 kB)
Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB)
Installing collected packages: progress, pygments, penman, pydelphin
Successfully installed penman-1.3.0 progress-1.6 pydelphin-1.9.0 pygments-2.17.2
(venv) ar@tranco geoquery % delphin
zsh: command not found: delphin
goodmami commented 8 months ago

I reproduced this on my end, too. In the last release I switched to a new build system, and I introduced a bug in the pyproject.toml file where I specified [projects.scripts] instead of [project.scripts] (compare to the following key [project.urls]):

https://github.com/delph-in/pydelphin/blob/1bcc648bdb3757297a07c4d1a957abaa38ae53ce/pyproject.toml#L49-L53