Setuptools is not included in the standard library. It introduced a command-line utility called easy_install. It also introduced the setuptools Python package that can be imported in your setup.py script, and the pkg_resources Python package that can be imported in your code to locate data files installed with a distribution.
You can download the setuptools in the following link.
https://pypi.python.org/pypi/setuptools
Once you unzip and using command prompt you can install using command prompt:
Python setup.py install
One you install you can see the relevant files such easy_install.py and pip.exe under script folder.
The following example show how to install or upgrade packages using pip command:
pip install <packagename>
The following example shows how to install Bottle module.
The following command are normal installation using easy_install.py in other environments
$ easy_install.py Package
$ easy_install.py http://sample.host/Package-X.Y.tar.gz
$ easy_install.py http://svn.sample.host/Package/trunk
Cheers!
No comments:
Post a Comment