delph-in/pydelphin

delphin command line not installed?

arademaker opened this issue · 1 comments

% 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

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]):

pydelphin/pyproject.toml

Lines 49 to 53 in 1bcc648

[projects.scripts]
delphin = "delphin.main:main"
[project.urls]
Homepage = "https://github.com/delph-in/pydelphin"