Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer doesn't put capirca command in ~/.local/bin #304

Open
jhaiduce opened this issue Apr 18, 2022 · 1 comment
Open

Installer doesn't put capirca command in ~/.local/bin #304

jhaiduce opened this issue Apr 18, 2022 · 1 comment

Comments

@jhaiduce
Copy link

The installation instructions say that after installation one can invoke capirca as ~/.local/bin/capirca. However, the installer doesn't install anything in ~/.local/bin. This applies both when installing from a clone of the current git master branch and when installing from PyPI via pip. In both cases, the installation finishes without error, but ~/.local/bin/capirca does not exist:

$ python setup.py install --user
running install
running bdist_egg
running egg_info
creating capirca.egg-info
writing capirca.egg-info/PKG-INFO
writing dependency_links to capirca.egg-info/dependency_links.txt
writing entry points to capirca.egg-info/entry_points.txt
<snip>

Using /home/jhaiduce/.local/lib/python3.10/site-packages
Finished processing dependencies for capirca==2.0.4
$ capirca
bash: capirca: command not found...
$ ls ~/.local/bin/capirca
ls: cannot access '/home/jhaiduce/.local/bin/capirca': No such file or directory

But the capirca package is successfully installed in ~/.local/lib/python3.10/site-packages:

$ ls /home/jhaiduce/.local/lib/python3.10/site-packages/capirca*
/home/jhaiduce/.local/lib/python3.10/site-packages/capirca:
aclgen.py  __init__.py  lib  __pycache__  utils

/home/jhaiduce/.local/lib/python3.10/site-packages/capirca-2.0.4-py3.10.egg:
capirca  EGG-INFO  tools

/home/jhaiduce/.local/lib/python3.10/site-packages/capirca-2.0.4-py3.10.egg-info:
dependency_links.txt  installed-files.txt  PKG-INFO      SOURCES.txt
entry_points.txt      not-zip-safe         requires.txt  top_level.txt
@jhaiduce
Copy link
Author

Ah, I see in setup.py there is an entry point aclgen, which does exist in ~/.local/bin. So apparently the readme needs to be updated to reference the aclgen script instead of caprica?

@jhaiduce jhaiduce changed the title Installer doesn't put anything in ~/.local/bin Installer doesn't put capirca command in ~/.local/bin May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant