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

analyzer: Install python scripts using alternative to easy_install #233

Closed
ivanperez-keera opened this issue Nov 5, 2023 · 0 comments
Closed
Assignees
Labels
C-bug Category: Bug L-python Language: Python
Milestone

Comments

@ivanperez-keera
Copy link
Collaborator

ivanperez-keera commented Nov 5, 2023

The current installation scripts for python programs don't place files exactly where/how expected, resulting in errors like:

$ ikos
error: could not find ikos python module
error: see TROUBLESHOOTING.md

even when PYTHONPATH is set correctly.

The current installation scripts for python programs included in IKOS use easy_install, which has been deprecated (https://setuptools.pypa.io/en/latest/history.html#v58-3-0). The recommended solution for installing IKOS is pip, and the recommended solution for building is build.

@ivanperez-keera ivanperez-keera added C-bug Category: Bug L-python Language: Python labels Nov 5, 2023
@ivanperez-keera ivanperez-keera changed the title Install python scripts using alternative to easy_install analyzer: Install python scripts using alternative to easy_install Nov 5, 2023
ivanperez-keera added a commit to ivanperez-keera/ikos that referenced this issue Nov 5, 2023
The current installation scripts for python programs don't place files exactly
where/how expected, resulting in errors like:

```
$ ikos
error: could not find ikos python module
error: see TROUBLESHOOTING.md
```

even when PYTHONPATH is set correctly.

Instead of trying to fix the issue, it's worth it to switch to an alternative
that is more up-to-date, where the problem does not happen.

The current installation scripts for python programs included in IKOS use
easy_install, which has been deprecated
(https://setuptools.pypa.io/en/latest/history.html#v58-3-0).

This commit replaces calls to the setup.py script, with calls to pip, which is
one of the recommended solutions for python package installation.
@ivanperez-keera ivanperez-keera self-assigned this Nov 5, 2023
@ivanperez-keera ivanperez-keera added this to the ikos 3.2 milestone Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: Bug L-python Language: Python
Projects
None yet
Development

No branches or pull requests

1 participant