-
-
Notifications
You must be signed in to change notification settings - Fork 573
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 venv for Arch Linux #1382
base: main
Are you sure you want to change the base?
Add venv for Arch Linux #1382
Conversation
README.md
Outdated
@@ -207,6 +215,24 @@ python mtk.py multi "cmd1;cmd2" | |||
``` | |||
See the file "[run.example](https://github.com/bkerler/mtkclient/blob/main/examples/run.example)" on how to structure the script file | |||
|
|||
### Using in on ARCH (BTW) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would go with "Using with virtualenv", because this works on any distro, not just on arch.
README.md
Outdated
|
||
If you gonna run any command, you NEED to use this prefix... | ||
``` | ||
~/.venv/bin/python mtk.py ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is for non knowledgeable users, I would start with:
source .venv/bin/activate
pip install .
And I would not mention the gui when using virtualenv.
Also, once inside virtualenv, you can just run using mtk
, see:
mtk --help
To exit virtualenv:
deactivate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, switching to virtualenv is better than using the same prefix everytime!
I'd say people using linux should know how to use venv. A better option is to go with pyenv imho. In any way, @bindertron is right with his comments, please make sure to adapt the PR accordingly. Thanks |
fixed it |
Title says it all.