sandbox.run_setup incorrectly sets
__file__ when setup_script is Unicode on Python 2
Since setuptools 25.X, we can't build Cython if present in setup_requires list.
that works on py3 or with setuptool 24.X but not with setuptool 25.X and py2:
To reproduce you can do:
$ virtualenv venv
The text was updated successfully, but these errors were encountered:
This reverts commit 8579495. As we can see on pypa#709, this breaks many things (easy_install C extensions, all py3.5 tests, run with LANG=C). So instead of fixing in a hurry all new bugs due to this, I propose to revert this commit until all downsides of this change have been investigated. Related bug: pypa#709 Related bug: pypa#710 Related bug: pypa#712
Not the same exact error, but similar for me with v25.1.2. This happens when we setup a virtualenv, which grabs the latest setuptools. The error is related to Unicode in a dependent package:
I traced the issue in the OP, and it seems to me here's what's happening:
Presumably, this issue might also occur if distutils were invoked from a directory containing non-ascii characters. I'll test that theory.
On my mac, here's what I get:
On my Windows box, I see this instead:
In both cases, it seems Python is setting