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

Add pipx and virtual env support #923

Merged
merged 5 commits into from
Jan 16, 2025

Conversation

pgrenaud
Copy link
Contributor

Related to #907. This PR:

  • Fix pipx package name for Arch (pacman).
  • Add install pipx tools logic. Add the base logic to support pipx tools.
  • Install pipx tools with pipx and update corresponding paths in reconftw.sh. This is the bulk of the work were package paths needed to be updated.
    • Since Interlace and wafw00f are now installed by pipx, the special configurations for them are no longer needed.
  • Install python requirements in individual virtual environment. Since some of the python dependent tools don't support pipx, we need to install them by hand. To avoid the Externally Managed Environments issue (as mentioned in Multiple issues when installing on Ubuntu 24.04 #907), we need to install them in individual virtual environment.
    • Restore support for tools with a requirements.txt file. This feature was present in the past but was removed by c46277a.
    • Update corresponding paths in reconftw.sh for tools that uses a virtual environment. This is the bulk of the work were package paths needed to be updated.
  • Remove the requirements.txt file as it is no longer required.

pgrenaud and others added 5 commits January 15, 2025 14:02
- Restore support for tools with a requirements.txt file
- Install requirements.txt in individual virtual environment for each
  tool
- Update path for tools that uses a virtual environment
@six2dez six2dez merged commit 15168b4 into six2dez:dev Jan 16, 2025
0 of 5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants