We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cbf170 commit d8fff46Copy full SHA for d8fff46
1 file changed
setup.py
@@ -189,6 +189,7 @@ def __init__(self, ext):
189
try_murmur3 = try_extensions and "--no-murmur3" not in sys.argv
190
try_libev = try_extensions and "--no-libev" not in sys.argv and not is_pypy and not is_windows
191
try_cython = try_extensions and "--no-cython" not in sys.argv and not is_pypy and not os.environ.get('CASS_DRIVER_NO_CYTHON')
192
+try_cython &= 'egg_info' not in sys.argv # bypass setup_requires for pip egg_info calls, which will never have --install-option"--no-cython" coming fomr pip
193
194
sys.argv = [a for a in sys.argv if a not in ("--no-murmur3", "--no-libev", "--no-cython", "--no-extensions")]
195
0 commit comments