Skip to content

Conversation

noleti
Copy link
Collaborator

@noleti noleti commented Jun 16, 2025

Due to the venv requirements of modern python/ubuntu, it seems to me that the mn and corresponding minicps scripts have to be run by root from within a venv. As sudo will leave current venv, the best way I saw is becoming permanent root via sudo su, then entering a venv . myvenv/bin/activate, and then running the make swat-s1 or similar. For this to work, I had to remove all sudo from the Makefile. I added an additional target to check if we are really root. This PR still misses updates to the documentation to reflect this change

@noleti noleti added this to the Update to Python 3 milestone Jun 16, 2025
@noleti
Copy link
Collaborator Author

noleti commented Jun 17, 2025

This PR now also contains a modernized pyproject.toml to replace the outdated setup.py. Install via pip install . from the root folder now

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