Boris FELD added the comment:

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'"

----------
nosy: +Boris.FELD

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13943>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to