Skip to content
This repository
Browse code

pip and distribute installation

  • Loading branch information...
commit 4a75198f36625b472215a4ef6192c41f950fa202 1 parent 3de8de1
Kenneth Reitz kennethreitz authored

Showing 1 changed file with 15 additions and 11 deletions. Show diff stats Hide diff stats

  1. +15 11 docs/installation.rst
26 docs/installation.rst
Source Rendered
@@ -100,7 +100,7 @@ System-Wide Installation
100 100 This is possible as well, though I do not recommend it. Just run
101 101 `easy_install` with root privileges::
102 102
103   - $ sudo easy_install Flask
  103 + $ sudo pip install Flask
104 104
105 105 (On Windows systems, run it in a command-prompt window with administrator
106 106 privleges, and leave out `sudo`.)
@@ -110,7 +110,7 @@ Living on the Edge
110 110 ------------------
111 111
112 112 If you want to work with the latest version of Flask, there are two ways: you
113   -can either let `easy_install` pull in the development version, or you can tell
  113 +can either let `pip` pull in the development version, or you can tell
114 114 it to operate on a git checkout. Either way, virtualenv is recommended.
115 115
116 116 Get the git checkout in a new virtualenv and run in development mode::
@@ -138,19 +138,19 @@ To just get the development version without git, do this instead::
138 138 $ . env/bin/activate
139 139 New python executable in env/bin/python
140 140 Installing setuptools............done.
141   - $ easy_install Flask==dev
  141 + $ pip install Flask==dev
142 142 ...
143 143 Finished processing dependencies for Flask==dev
144 144
145 145 .. _windows-easy-install:
146 146
147   -`easy_install` on Windows
148   --------------------------
  147 +`pip` and `distribute` on Windows
  148 +-----------------------------------
149 149
150 150 On Windows, installation of `easy_install` is a little bit trickier, but still
151   -quite easy. The easiest way to do it is to download the `ez_setup.py`_ file
152   -and run it. The easiest way to run the file is to open your downloads folder
153   -and double-click on the file.
  151 +quite easy. The easiest way to do it is to download the
  152 +`distribute_setup.py`_ file and run it. The easiest way to run the file is to
  153 +open your downloads folder and double-click on the file.
154 154
155 155 Next, add the `easy_install` command and other Python scripts to the
156 156 command search path, by adding your Python installation's Scripts folder
@@ -161,14 +161,18 @@ Then click on "Advanced System settings" (in Windows XP, click on the
161 161 Finally, double-click on the "Path" variable in the "System variables" section,
162 162 and add the path of your Python interpreter's Scripts folder. Be sure to
163 163 delimit it from existing values with a semicolon. Assuming you are using
164   -Python 2.6 on the default path, add the following value::
  164 +Python 2.7 on the default path, add the following value::
165 165
166 166
167   - ;C:\Python26\Scripts
  167 + ;C:\Python27\Scripts
168 168
169 169 And you are done! To check that it worked, open the Command Prompt and execute
170 170 ``easy_install``. If you have User Account Control enabled on Windows Vista or
171 171 Windows 7, it should prompt you for administrator privileges.
172 172
  173 +Now that you have ``easy_install``, you can use it to install ``pip``::
173 174
174   -.. _ez_setup.py: http://peak.telecommunity.com/dist/ez_setup.py
  175 + > easy_install pip
  176 +
  177 +
  178 +.. _distribute_setup.py: http://python-distribute.org/distribute_setup.py

0 comments on commit 4a75198

Please sign in to comment.
Something went wrong with that request. Please try again.