You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I don't think encouraging people to sudo python install and using global site-packages is good idea (in general). It is a bad idea as different apps could require different lib versions and you can easily end up in a situation that something does not work. The virtualenv approach should be suggested and thus you need those requirements to install in virtualenv. I don't know how packaging python app works (for linux/macos etc), but stating those reqs in setup.py/requirements.txt is standard python way to make these reqs installed in the env. I'm aware of the "the OS is recommended for deps" but it applies to packaged versions, not running from source.
git clone https://github.com/Nicotine-Plus/nicotine-plus.git /tmp/nicotine-plus
python3 -m venv .env
# (now either use `source .env/bin/activate` which will allow you to run python and pip without the full path or use full paths for pip and python - will show you the latter one as it is more universal)
/tmp/nicotine-plus/.env/bin/pip install -r requirements.txt #if requiements not in setup.py
/tmp/nicotine-plus/.env/bin/python setup.py install
to run just: /tmp/nicotine-plus/.env/bin/python /tmp/nicotine-plus/nicotine
to update, just pull from the repo and redo all steps from the pip install