Code: Select all
$ pip install -t <srcds_base_path>/addons/source-python/packages/custom/ <package>
For example:
Code: Select all
$ apt-get install python-pip
$ pip install -t /usr/games/steam/tf2/tf/addons/source-python/packages/custom/ requests
$ pip install -t /usr/games/steam/tf2/tf/addons/source-python/packages/custom/ flask
This would not gaurentee that it will work with Source Python since there are certain limitations