Author Boris.FELD
Recipients Boris.FELD, eric.araujo, patrick.andrew, tarek
Date 2014-01-03.15:27:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388762838.86.0.0528988812852.issue13943@psf.upfronthosting.co.za>
In-reply-to
Content
I've the same problem today with package https://pypi.python.org/pypi/httpretty/0.7.1 but only when I try to install one of my project which requires httpretty, if I try to install it directly it works like a charm.

pip install httpretty -> works
pip install mypkg -> doesn't works

Looks like HTTPretty is using __file__ variable in setup.py (https://github.com/gabrielfalcao/HTTPretty/blob/master/setup.py#L35) and pip seems to pass the file as unicode:

http://0bin.net/paste/dQfsSAmguWNYyY7w#0O/gcrWA44wKicfTdsGT4KqRYhbZLyhN9BUXNQD1XZA=

At the last line: "__file__=u'/home/lothiraldan/.virtualenvs/test/build/httpretty/setup.py'"
History
Date User Action Args
2014-01-03 15:27:18Boris.FELDsetrecipients: + Boris.FELD, tarek, eric.araujo, patrick.andrew
2014-01-03 15:27:18Boris.FELDsetmessageid: <1388762838.86.0.0528988812852.issue13943@psf.upfronthosting.co.za>
2014-01-03 15:27:18Boris.FELDlinkissue13943 messages
2014-01-03 15:27:18Boris.FELDcreate