Parse version number out of requests/__init__.py
authorIan Cordasco <graffatcolmingov@gmail.com>
Sat, 14 Mar 2015 02:47:29 +0000 (21:47 -0500)
committerIan Cordasco <graffatcolmingov@gmail.com>
Sat, 14 Mar 2015 02:47:29 +0000 (21:47 -0500)
commit1acc4992d42950b54a7be1b0dcacdaac35d32436
tree8a255b8234309b4a6d0435e86a6e974b66d7980e
parent9adaae6785a3526319e6aabab5ed551062636970
Parse version number out of requests/__init__.py

With the new import machinery in requests/packages/__init__.py people
using `python setup.py test` will not be able to run the tests the first
time on a new environment. The VendorAlias logic breaks the import
machinery and the tests fail. By removing the import of requests in
setup.py, we avoid the issue where sys.meta_path continues to have the
version of VendorAlias from the import in setup.py.

Closes #2462
setup.py