absurdfarce commented on code in PR #1264:
URL: 
https://github.com/apache/cassandra-python-driver/pull/1264#discussion_r2767643925


##########
setup.py:
##########
@@ -163,50 +52,8 @@ def eval_env_var_as_array(varname):
 
=================================================================================
 """
 
-is_pypy = "PyPy" in sys.version
-if is_pypy:
-    sys.stderr.write(pypy_unsupported_msg)
-
-is_supported_platform = sys.platform != "cli" and not 
sys.platform.startswith("java")
-is_supported_arch = sys.byteorder != "big"
-if not is_supported_platform:
-    sys.stderr.write(platform_unsupported_msg)
-elif not is_supported_arch:
-    sys.stderr.write(arch_unsupported_msg)
-
-try_extensions = "--no-extensions" not in sys.argv and is_supported_platform 
and is_supported_arch and not os.environ.get('CASS_DRIVER_NO_EXTENSIONS')
-try_murmur3 = try_extensions and "--no-murmur3" not in sys.argv
-try_libev = try_extensions and "--no-libev" not in sys.argv and not is_pypy 
and not os.environ.get('CASS_DRIVER_NO_LIBEV')
-try_cython = try_extensions and "--no-cython" not in sys.argv and not is_pypy 
and not os.environ.get('CASS_DRIVER_NO_CYTHON')
-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
-
-sys.argv = [a for a in sys.argv if a not in ("--no-murmur3", "--no-libev", 
"--no-cython", "--no-extensions")]
-
-build_concurrency = int(os.environ.get('CASS_DRIVER_BUILD_CONCURRENCY', '0'))
-
-
-class NoPatchExtension(Extension):
-
-    # Older versions of setuptools.extension has a static flag which is set 
False before our
-    # setup_requires lands Cython. It causes our *.pyx sources to be renamed 
to *.c in
-    # the initializer.
-    # The other workaround would be to manually generate sources, but that 
bypasses a lot
-    # of the niceness cythonize embodies (setup build dir, conditional build, 
etc).
-    # Newer setuptools does not have this problem because it checks for cython 
dynamically.
-    # 
https://bitbucket.org/pypa/setuptools/commits/714c3144e08fd01a9f61d1c88411e76d2538b2e4
-
-    def __init__(self, *args, **kwargs):
-        # bypass the patched init if possible
-        if Extension.__bases__:
-            base, = Extension.__bases__
-            base.__init__(self, *args, **kwargs)
-        else:
-            Extension.__init__(self, *args, **kwargs)
-
-
-class build_extensions(build_ext):
-
-    error_message = """
+windows_compmile_error = \

Review Comment:
   Fixed.   This was a holdover from when we had compilation in setup.py so 
this just got removed outright.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to