Add os.path.expanduser call to normalize_path.

realpath by itself won't expand tildes, which could lead to things like:

pip wheel --wheel-path=~/wheels -r requirements.txt

Producing:

Destination directory: /home/foo/src/dir/~/wheels

Which is pretty much never what you wanted.
fix version
Merge pull request #1032 from dholth/release-1.4

urlparse.urlparse() fix
'pip list' should list pip and setuptools
setuptools requirement is now >=0.8
new install instructions after release of setuptools-0.8/distribute-0.7.3
1.4rc3
update changelog with note about case where distribute upgrade can fail
merge from release-1.4 branch
user site fix for windows tests; was broke recently when the 2 TestPipEnvironment classes were consolidated into one
merge from release-1.4 branch
--pre flag should affect the finder and not the requirements

Storing the --pre flag on the finder enables easily being able
to have it affect all package discoveries made with that finder.
The previous method of passing it into the InstallRequirement
meant that only top level dependencies were controlled by
--pre
Merge pull request #1040 from pypa/use-pre-for-dependencies

Fixes #1038 --pre flag should affect the finder and not the requirements
fix regexp for windows paths
merge from release-1.4 branch
patch for our tests cache for windows/py2
merge from release-1.4 branch
Versioned commands consistent with python.

Fixes #1050
Fix functional test.
Default to disallowing external and insecurely hosted files