pypa/pip — pull request #489 by rory (2012-03-19 19:04:53+00:00)
Title: if there is a git repo without an origin, then don't fall over. #58

I recently ran into issue #58 and decided to do something about it.

If there is a problem getting the editible URL, this function will return None, which is dealt with by the calling function which will just put in name==version, and a comment. This is a good way to handle this problem.

Here is a simple bash script that will demonstrate the problem in issue #58 which the attached branch does not suffer from

#! /bin/bash

rm -rf ve
virtualenv --no-site-packages ve
source ve/bin/activate

rm -rf tester
mkdir tester
pushd tester
cat > setup.py <