• Home
  • Raw
  • Download

Lines Matching +full:build +full:- +full:local +full:- +full:artifacts

7 #     http://www.apache.org/licenses/LICENSE-2.0
45 # https://bitbucket.org/pypa/pypi/issues/120/binary-wheels-for-linux-are-not-supported
49 If we can retrieve a pre-compiled bdist from online, uses it. Else, emits a
56 # the custom wheels that we build/upload to GCS.
72 # Our chosen local bdist path.
101 import sphinx.cmd.build
104 target_dir = os.path.join(GRPC_STEM, "doc", "build")
105 exit_code = sphinx.cmd.build.build_main(
106 ["-b", "html", "-W", "--keep-going", source_dir, target_dir]
117 description = "build grpcio project metadata files"
136 """Custom project build command."""
175 sys.stderr.write("Cython-generated files are missing...\n")
180 sys.stderr.write("Found cython-generated files...\n")
190 mandatory: Whether or not having Cython-generated files is mandatory. If it
194 # Break import style to ensure we have access to Cython post-setup_requires
195 import Cython.Build
207 " Cython-generated code."
215 return Cython.Build.cythonize(
228 """Custom build_ext command to enable compiler-specific flags."""
231 "unix": ("-pthread",),
239 # E.g. on x64 linux the suffix is ".cpython-XYZ-x86_64-linux-gnu.so"
241 … # so that the resulting file name matches the target architecture and we end up with a well-formed
247 filename = filename[: -len(orig_ext_suffix)] + new_ext_suffix
258 arg for arg in extra_postargs if arg != "-std=c++17"
262 arg for arg in extra_postargs if arg != "-std=c11"
313 """Command to clean build artifacts."""
315 description = "Clean build artifacts."
325 "src/python/grpcio/grpcio.egg-info/",