| /external/grpc-grpc/src/python/grpcio/grpc/_cython/ |
| D | README.rst | 1 GRPC Python Cython layer 4 Package for the GRPC Python Cython layer. 6 What is Cython? 7 --------------- 9 Cython is both a superset of the Python language with extensions for dealing 14 See the wonderful `Cython website`_. 16 Why Cython? 17 ----------- 19 - **Python 2 and 3 support** 20 Cython generated C code has precompiler macros to target both Python 2 and [all …]
|
| /external/grpc-grpc/summerofcode/2018/ |
| D | naresh.md | 11 [Bazel](https://bazel.build/) is the open-sourced variant of Google's internal 20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204… 32 Python](https://groups.google.com/forum/#!topic/bazel-sig-python/iQjV9sfSufw) 56 ### Building Cython code 58 Building Cython code is still not supported by Bazel, but the team at 59 [cython/cython](https://github.com/cython/cython) have added support for Bazel 60 on their side. The way it works is by including Cython as a third-party Bazel 61 dependency and using custom Bazel rules for building our Cython code using the 66 pip and PyPI still remain the de-facto standard for distributing Python 78 to install the required dependencies (which were python-dev and Bazel) and a [all …]
|
| /external/rust/crates/grpcio-sys/grpc/summerofcode/2018/ |
| D | naresh.md | 11 [Bazel](https://bazel.build/) is the open-sourced variant of Google's internal 20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204… 32 Python](https://groups.google.com/forum/#!topic/bazel-sig-python/iQjV9sfSufw) 56 ### Building Cython code 58 Building Cython code is still not supported by Bazel, but the team at 59 [cython/cython](https://github.com/cython/cython) have added support for Bazel 60 on their side. The way it works is by including Cython as a third-party Bazel 61 dependency and using custom Bazel rules for building our Cython code using the 66 pip and PyPI still remain the de-facto standard for distributing Python 78 to install the required dependencies (which were python-dev and Bazel) and a [all …]
|
| /external/capstone/bindings/python/ |
| D | BUILDING.txt | 16 2. For better Python performance, install cython-based binding with: 20 Note that this requires Cython installed first. To install Cython, see 23 3. To install Cython, you have to ensure that the header files 28 $ sudo apt-get install python-dev 31 Cython with either: 33 $ sudo pip install cython 35 $ sudo easy_install cython 38 install the required Cython version using your repository. 42 $ sudo apt-get install cython 44 However, our cython-based binding requires Cython version 0.19 or newer, [all …]
|
| D | Makefile | 10 rm -rf src/ 11 if test -n "${DESTDIR}"; then \ 12 $(PYTHON2) setup.py build install --root="${DESTDIR}"; \ 18 rm -rf src/ 19 if test -n "${DESTDIR}"; then \ 20 $(PYTHON3) setup.py build install --root="${DESTDIR}"; \ 25 # NOTE: Newer cython can be installed by: sudo pip install --upgrade cython 27 rm -rf src/ 28 if test -n "${DESTDIR}"; then \ 29 $(PYTHON2) setup_cython.py build install --root="${DESTDIR}"; \ [all …]
|
| /external/rust/crates/grpcio-sys/grpc/bazel/ |
| D | grpc_python_deps.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Load dependencies needed to compile and test the grpc python library as a 3rd-party consumer.""" 19 # buildifier: disable=unnamed-macro 25 …url = "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.g… 28 patch_args = ["-p1"], 38 if "cython" not in native.existing_rules(): 40 name = "cython", 41 build_file = "@com_github_grpc_grpc//third_party:cython.BUILD", 43 strip_prefix = "cython-0.29.35", 45 "https://github.com/cython/cython/archive/0.29.35.tar.gz",
|
| /external/grpc-grpc/bazel/ |
| D | grpc_python_deps.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Load dependencies needed to compile and test the grpc python library as a 3rd-party consumer.""" 19 # buildifier: disable=unnamed-macro 26 strip_prefix = "rules_python-0.26.0", 27 …= "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz", 37 if "cython" not in native.existing_rules(): 39 name = "cython", 40 build_file = "@com_github_grpc_grpc//third_party:cython.BUILD", 42 strip_prefix = "cython-0.29.35", 44 "https://github.com/cython/cython/archive/0.29.35.tar.gz",
|
| /external/fonttools/Lib/fontTools/varLib/ |
| D | iup.py | 2 import cython 4 COMPILED = cython.compiled 6 # if cython not installed, use mock module with no-op decorators and types 7 from fontTools.misc import cython 31 @cython.cfunc 32 @cython.locals( 33 j=cython.int, 34 n=cython.int, 35 x1=cython.double, 36 x2=cython.double, [all …]
|
| /external/grpc-grpc/src/python/grpcio/ |
| D | commands.py | 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 106 ["-b", "html", "-W", "--keep-going", source_dir, target_dir] 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 199 "This package needs to generate C files with Cython but it" [all …]
|
| /external/python/pyyaml/ |
| D | setup.py | 12 supports standard YAML tags and provides Python-specific tags that 24 "Development Status :: 5 - Production/Stable", 28 "Programming Language :: Cython", 45 'Mailing lists': 'http://lists.sourceforge.net/lists/listinfo/yaml-core', 80 # we need cython here 83 from Cython.Distutils.extension import Extension as _Extension 84 from Cython.Distutils import build_ext as _build_ext 102 "Cython directive 'language_level' not set" 115 for idx in range(len(self.ext_modules)-1, -1, -1): 169 self.attr_name = 'with_' + feature_name.replace('-', '_') [all …]
|
| D | CHANGES | 7 6.0 (2021-10-13) 9 * https://github.com/yaml/pyyaml/pull/327 -- Change README format to Markdown 10 * https://github.com/yaml/pyyaml/pull/483 -- Add a test for YAML 1.1 types 11 * https://github.com/yaml/pyyaml/pull/497 -- fix float resolver to ignore `.` and `._` 12 * https://github.com/yaml/pyyaml/pull/550 -- drop Python 2.7 13 * https://github.com/yaml/pyyaml/pull/553 -- Fix spelling of “hexadecimal” 14 * https://github.com/yaml/pyyaml/pull/556 -- fix representation of Enum subclasses 15 * https://github.com/yaml/pyyaml/pull/557 -- fix libyaml extension compiler warnings 16 * https://github.com/yaml/pyyaml/pull/560 -- fix ResourceWarning on leaked file descriptors 17 * https://github.com/yaml/pyyaml/pull/561 -- always require `Loader` arg to `yaml.load()` [all …]
|
| /external/fonttools/Lib/fontTools/misc/ |
| D | bezierTools.py | 1 # -*- coding: utf-8 -*- 2 """fontTools.misc.bezierTools.py -- tools for working with Bezier path segments. 11 import cython 13 COMPILED = cython.compiled 15 # if cython not installed, use mock module with no-op decorators and types 16 from fontTools.misc import cython 77 deriv3 = (p3 + p2 - p1 - p0) * 0.125 79 (p0, (p0 + p1) * 0.5, mid - deriv3, mid), 84 @cython.returns(cython.double) 85 @cython.locals( [all …]
|
| /external/grpc-grpc/src/python/grpcio_observability/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 43 "Development Status :: 4 - Beta", 68 with open("/etc/os-release", "r") as f: 76 # Environment variable to determine whether or not the Cython extension should 77 # *use* Cython or use the generated C files. Note that this requires the C files 78 # to have been generated by building first *with* Cython support. 82 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin… 85 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version 86 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols. 94 """Test if linker on system needs libatomic.""" [all …]
|
| /external/fonttools/ |
| D | setup.py | 39 __import__("cython") 51 # --with-cython/--without-cython options override environment variables 52 opt_with_cython = {"--with-cython"}.intersection(sys.argv) 53 opt_without_cython = {"--without-cython"}.intersection(sys.argv) 56 "error: the options '--with-cython' and '--without-cython' are " 60 sys.argv.remove("--with-cython") 63 sys.argv.remove("--without-cython") 67 setup_requires.append("cython") 96 # read/write XML files (faster/safer than built-in ElementTree) 108 # of the Unicode Character Database instead of the built-in unicodedata [all …]
|
| D | .gitignore | 1 # Byte-compiled / optimized / DLL files 14 *.egg-info/ 20 pip-log.txt 21 pip-delete-this-directory.txt 23 # Unit test / coverage reports 56 # Cython sources (e.g. cu2qu)
|
| /external/grpc-grpc/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 43 # Redirect the manifest template from MANIFEST.in to PYTHON-MANIFEST.in. 44 egg_info.manifest_maker.template = "PYTHON-MANIFEST.in" 52 ABSL_INCLUDE = (os.path.join("third_party", "abseil-cpp"),) 71 os.path.join("third_party", "boringssl-with-bazel", "src", "include"), 74 UPB_GRPC_GENERATED_INCLUDE = (os.path.join("src", "core", "ext", "upb-gen"),) 76 os.path.join("src", "core", "ext", "upbdefs-gen"), 87 # Break import-style to ensure we can actually find our in-repo dependencies. 101 "Development Status :: 5 - Production/Stable", 126 # Example value: "linux-aarch64" [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/python/ |
| D | custom_call_for_test.pyx | 1 # cython: language_level=2 4 # Test case for defining a XLA custom call target in Cython, and registering 14 out[0] = a - b
|
| /external/rust/crates/grpcio-sys/grpc/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 46 # Redirect the manifest template from MANIFEST.in to PYTHON-MANIFEST.in. 47 egg_info.manifest_maker.template = 'PYTHON-MANIFEST.in' 55 ABSL_INCLUDE = (os.path.join('third_party', 'abseil-cpp'),) 72 SSL_INCLUDE = (os.path.join('third_party', 'boringssl-with-bazel', 'src', 76 'upb-generated'),) 78 'upbdefs-generated'),) 88 # Break import-style to ensure we can actually find our in-repo dependencies. 102 'Development Status :: 5 - Production/Stable', 126 # Example value: "linux-aarch64" [all …]
|
| /external/bazelbuild-rules_python/tests/pip_install/whl_library/ |
| D | generate_build_bazel_tests.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 …library_build_bazel.bzl", "generate_whl_library_build_bazel") # buildifier: disable=bzl-visibility 31 srcs = glob(["site-packages/*.dist-info/**"], allow_empty = True), 48 ["site-packages/**/*.py"], 51 # pure-Python code, e.g. pymssql, which is written in Cython. 55 ["site-packages/**/*"], 56 exclude=["**/* *", "**/*.py", "**/*.pyc", "**/*.pyc.*", "**/*.dist-info/RECORD"], 58 # This makes this directory a top-level in the python import 60 imports = ["site-packages"], 67 dependencies = ["foo", "bar-baz"], [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpcio_tools/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 34 # TODO(atash) add flag to disable Cython use 56 'Development Status :: 5 - Production/Stable', 70 # Environment variable to determine whether or not the Cython extension should 71 # *use* Cython or use the generated C files. Note that this requires the C files 72 # to have been generated by building first *with* Cython support. 76 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin… 79 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version 80 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols. 87 """Test if linker on system needs libatomic.""" [all …]
|
| /external/grpc-grpc/tools/distrib/python/grpcio_tools/ |
| D | setup.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 31 # TODO(atash) add flag to disable Cython use 53 "Development Status :: 5 - Production/Stable", 67 # Environment variable to determine whether or not the Cython extension should 68 # *use* Cython or use the generated C files. Note that this requires the C files 69 # to have been generated by building first *with* Cython support. 73 # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on lin… 76 # it's difficult to ensure that the crosscompilation toolchain has a high-enough version 77 # of GCC (we require >=5.1) but still uses old-enough libstdc++ symbols. 85 """Test if linker on system needs libatomic.""" [all …]
|
| /external/python/pyyaml/.github/workflows/ |
| D | ci.yaml | 1 --- 21 runs-on: ubuntu-latest 23 - name: Checkout PyYAML 26 - name: Install a python 27 uses: actions/setup-python@v2 29 python-version: 3.x 31 - name: Build sdist 36 python -V 37 python -m pip install build 39 python -m build . [all …]
|
| D | manual_artifact_build.yaml | 1 --- 19 runs-on: ubuntu-latest 21 - name: Checkout PyYAML 24 - name: Install a python 25 uses: actions/setup-python@v2 27 python-version: 3.x 29 - name: Build sdist 34 python -V 35 python -m pip install build 37 python -m build . [all …]
|
| /external/grpc-grpc/src/python/grpcio_tests/tests/unit/_cython/ |
| D | _server_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Test servers at the level of the Cython API.""" 23 class Test(unittest.TestCase): class
|
| /external/oss-fuzz/projects/libplist/ |
| D | build.sh | 1 #!/bin/bash -eu 9 # http://www.apache.org/licenses/LICENSE-2.0 19 ./autogen.sh --without-cython --enable-debug 20 make -j$(nproc) clean 21 make -j$(nproc) all 24 $CXX $CXXFLAGS -std=c++11 -Iinclude/ \ 25 fuzz/$fuzzer.cc -o $OUT/$fuzzer \ 26 $LIB_FUZZING_ENGINE src/.libs/libplist-2.0.a 29 zip -j $OUT/bplist_fuzzer_seed_corpus.zip test/data/*.bplist 30 zip -j $OUT/xplist_fuzzer_seed_corpus.zip test/data/*.plist
|