Overview
setuptools
is a collection of enhancements to the Python distutils
that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.
To run the commands in this article, you must log into your server via SSH with your Shell user. View the following articles for more information:
You can easily install setuptools
to work with your version of Python. (Note that virtualenv will set up setuptools automatically.)
[server]$ mkdir ~/soft [server]$ cd ~/soft [server]$ wget https://peak.telecommunity.com/dist/ez_setup.py [server]$ python ez_setup.py
Now you have the easy_install
script installed in your ${RUN}/bin directory.
See also
- Python overview
- SSH overview
- Guidelines for setting up a Python file at DreamHost
- How to install a newer version of SWIG
- Installing a custom version of Python 2
- Installing a custom version of Python 3
- Installing and using virtualenv with Python 2
- Installing and using virtualenv with Python 3
- Pyenv: simple Python version management