Quickstart
==========
First, :doc:`Install pip <installing>`.
Install a package from `PyPI`_:
::
$ pip install SomePackage
[...]
Successfully installed SomePackage
Show what files were installed:
::
$ pip show --files SomePackage
Name: SomePackage
Version: 1.0
Location: /my/env/lib/pythonx.x/site-packages
Files:
../somepackage/__init__.py
[...]
List what packages are outdated:
::
$ pip list --outdated
SomePackage (Current: 1.0 Latest: 2.0)
Upgrade a package:
::
$ pip install --upgrade SomePackage
[...]
Found existing installation: SomePackage 1.0
Uninstalling SomePackage:
Successfully uninstalled SomePackage
Running setup.py install for SomePackage
Successfully installed SomePackage
Uninstall a package:
::
$ pip uninstall SomePackage
Uninstalling SomePackage:
/my/env/lib/pythonx.x/site-packages/somepackage
Proceed (y/n)? y
Successfully uninstalled SomePackage
.. _PyPI: http://pypi.python.org/pypi/
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| reference | Folder | 0755 |
|
|
| configuration.rst | File | 107 B | 0644 |
|
| cookbook.rst | File | 113 B | 0644 |
|
| development.rst | File | 4.35 KB | 0644 |
|
| distribute_setuptools.rst | File | 2.48 KB | 0644 |
|
| index.rst | File | 525 B | 0644 |
|
| installing.rst | File | 1.94 KB | 0644 |
|
| logic.rst | File | 139 B | 0644 |
|
| news.rst | File | 71 B | 0644 |
|
| quickstart.rst | File | 1021 B | 0644 |
|
| usage.rst | File | 123 B | 0644 |
|
| user_guide.rst | File | 15.06 KB | 0644 |
|