Installing standard python packages (pypi)
Posted: Sun Mar 25, 2018 2:24 am
On Linux, you can do this with pip
For example:
This would not gaurentee that it will work with Source Python since there are certain limitations
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