Lines Matching +full:test +full:- +full:cython

7 #     http://www.apache.org/licenses/LICENSE-2.0
44 # Redirect the manifest template from MANIFEST.in to PYTHON-MANIFEST.in.
45 egg_info.manifest_maker.template = 'PYTHON-MANIFEST.in'
53 ABSL_INCLUDE = (os.path.join('third_party', 'abseil-cpp'),)
69 SSL_INCLUDE = (os.path.join('third_party', 'boringssl-with-bazel', 'src',
73 'upb-generated'),)
75 'upbdefs-generated'),)
83 # Break import-style to ensure we can actually find our in-repo dependencies.
96 'Development Status :: 5 - Production/Stable',
112 # Environment variable to determine whether or not the Cython extension should
113 # *use* Cython or use the generated C files. Note that this requires the C files
114 # to have been generated by building first *with* Cython support. Even if this
116 # present, then it will still attempt to use Cython.
144 # Python/Cython layers here.
161 # in Cython modules.
172 """Test if linker on system needs libatomic."""
176 cpp_test = subprocess.Popen([cxx, '-x', 'c++', '-std=c++11', '-'],
183 # Double-check to see if -latomic actually can solve the problem.
186 [cxx, '-x', 'c++', '-std=c++11', '-latomic', '-'],
198 # We can also use these variables as a way to inject environment-specific
199 # compiler/linker flags. We assume GCC-like compilers and/or MinGW as a
204 EXTRA_ENV_COMPILE_ARGS = ' -std=c++11'
207 EXTRA_ENV_COMPILE_ARGS += ' -D_hypot=hypot'
210 # envvars) without adding yet more GRPC-specific envvars.
211 # See https://sourceforge.net/p/mingw-w64/bugs/363/
213 … EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime32 -D_timeb=__timeb32 -D_ftime_s=_ftime32_s'
215 EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime64 -D_timeb=__timeb64'
221 EXTRA_ENV_COMPILE_ARGS += ' -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions'
223 EXTRA_ENV_COMPILE_ARGS += ' -stdlib=libc++ -fvisibility=hidden -fno-wrapv -fno-exceptions'
228 EXTRA_ENV_LINK_ARGS += ' -lpthread'
230 EXTRA_ENV_LINK_ARGS += ' -latomic'
234 ' -static-libgcc -static-libstdc++ -mcrtdll={msvcr}'
235 ' -static -lshlwapi'.format(msvcr=msvcr))
237 EXTRA_ENV_LINK_ARGS += ' -Wl,-wrap,memcpy -static-libgcc'
304 LINUX_X86_64 = 'linux-x86_64'
305 LINUX_ARM = 'linux-arm'
324 # TODO(zyc): Re-enable c-ares on x64 and x86 windows after fixing the
363 r'macosx-[0-9]+\.[0-9]+-(.+)', r'macosx-10.10-\1',
402 # TODO: the strategy for conditional compiling and exposing the aio Cython
421 'protobuf': 'grpcio-tools>={version}'.format(version=grpc_version.VERSION),
430 import Cython
434 "You requested a Cython build via GRPC_PYTHON_BUILD_WITH_CYTHON, "
435 "but do not have Cython installed. We won't stop you from using "
439 'We could not find Cython. Setup may take 10-20 minutes.\n')
440 SETUP_REQUIRES += ('cython>=0.23',)
474 description='HTTP/2-based RPC framework',
476 author_email='grpc-io@googlegroups.com',