| /third_party/python/PCbuild/ |
| D | readme.txt | 2 ----------------- 4 1. Install Microsoft Visual Studio 2017 with Python workload and 5 Python native development component. 6 1a. Optionally install Python 3.6 or later. If not installed, 7 get_externals.bat (via build.bat) will download and use Python via 9 2. Run "build.bat" to build Python in 32-bit Release configuration. 10 3. (Optional, but recommended) Run the test suite with "rt.bat -q". 13 Building Python using Microsoft Visual C++ 14 ------------------------------------------ 16 This directory is used to build CPython for Microsoft Windows on 32- and 64- [all …]
|
| /third_party/benchmark/.github/workflows/ |
| D | wheels.yml | 1 name: Build and upload Python wheels 7 - published 11 name: Build source distribution 12 runs-on: ubuntu-latest 14 - name: Check out repo 17 - name: Install Python 3.9 18 uses: actions/setup-python@v2 19 with: 20 python-version: 3.9 22 - name: Build and check sdist [all …]
|
| /third_party/python/Mac/ |
| D | README.rst | 2 Python on macOS README 6 Jack Jansen (2004-07), 7 Ronald Oussoren (2010-04), 8 Ned Deily (2012-06) 11 the Python distribution. 16 The core developers primarily test builds on macOS with Apple's compiler tools, 17 either Xcode or the Command Line Tools. For these we only support building with 18 a compiler that includes an SDK that targets the OS on the build machine, that is 19 the version of Xcode that shipped with the OS version or one newer. 24 Building with other compilers, such as GCC, likely works, but is not actively supported. [all …]
|
| /third_party/python/Doc/using/ |
| D | configure.rst | 2 Configure Python 5 .. _configure-options: 12 ./configure --help 14 See also the :file:`Misc/SpecialBuilds.txt` in the Python source distribution. 17 --------------- 19 .. cmdoption:: --enable-loadable-sqlite-extensions 29 .. cmdoption:: --disable-ipv6 34 .. cmdoption:: --enable-big-digits=[15|30] 36 Define the size in bits of Python :class:`int` digits: 15 or 30 bits. 44 .. cmdoption:: --with-cxx-main [all …]
|
| /third_party/python/Doc/ |
| D | Makefile | 2 # Makefile for Python documentation 7 PYTHON = python3 macro 9 SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build 10 SPHINXLINT = PATH=$(VENVDIR)/bin:$$PATH sphinx-lint 15 DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) 17 SPHINXERRORHANDLING = -W 20 PAPEROPT_a4 = -D latex_elements.papersize=a4paper 21 PAPEROPT_letter = -D latex_elements.papersize=letterpaper 23 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j $(JOBS) \ 24 $(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES) [all …]
|
| D | make.bat | 8 call ..\PCbuild\find_python.bat %PYTHON% 10 if not defined PYTHON set PYTHON=py variable 13 %PYTHON% -c "import sphinx" > nul 2> nul 15 echo Installing sphinx with %PYTHON% 16 %PYTHON% -m pip install -r requirements.txt 19 set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())" 22 %PYTHON% -c "import python_docs_theme" > nul 2> nul 24 echo Installing python-docs-theme with %PYTHON% 25 %PYTHON% -m pip install python-docs-theme 30 %PYTHON% -c "import blurb" > nul 2> nul [all …]
|
| D | README.rst | 1 Python Documentation README 4 This directory contains the reStructuredText (reST) sources to the Python 5 documentation. You don't need to build them yourself, `prebuilt versions are 6 available <https://docs.python.org/dev/download.html>`_. 8 Documentation on authoring Python documentation, including information about 9 both style and markup, is available in the "`Documenting Python 10 <https://devguide.python.org/documenting/>`_" chapter of the 17 The documentation is built with several tools which are not included in this 23 * `python-docs-theme <https://pypi.org/project/python-docs-theme/>`_ 29 ---------- [all …]
|
| /third_party/grpc/summerofcode/2018/ |
| D | naresh.md | 5 Enable Building of gRPC Python with Bazel 9 gRPC Python currently has a constellation of scripts written to build the 11 [Bazel](https://bazel.build/) is the open-sourced variant of Google's internal 14 development, especially in terms of Python (amongst a few other languages). 16 The project aimed to fill this gap and build gRPC Python with Bazel. 20 …storage.googleapis.com/summerofcode-prod.appspot.com/gsoc/core_project/doc/5316764725411840_152204… 24 ### State of Bazel for Python 28 rules for Python are currently being separated out into their own repo at 32 Python](https://groups.google.com/forum/#!topic/bazel-sig-python/iQjV9sfSufw) 33 though. There's still challenges when it comes to building for Python 2 vs 3. [all …]
|
| /third_party/PyYAML/ |
| D | Makefile | 2 .PHONY: build dist 4 PYTHON=/usr/bin/python3 macro 8 build: target 9 ${PYTHON} setup.py build ${PARAMETERS} 12 ${PYTHON} setup.py --with-libyaml build ${PARAMETERS} 15 ${PYTHON} setup.py build -f ${PARAMETERS} 18 ${PYTHON} setup.py --with-libyaml build -f ${PARAMETERS} 21 ${PYTHON} setup.py install ${PARAMETERS} 24 ${PYTHON} setup.py --with-libyaml install ${PARAMETERS} 26 test: build [all …]
|
| /third_party/python/Mac/BuildScript/ |
| D | README.rst | 1 Building a Python Mac OS X distribution 4 The ``build-install.py`` script creates Python distributions, including 5 certain third-party libraries as necessary. It builds a complete 6 framework-based Python out-of-tree, installs it in a funny place with 17 with a valid Apple Developer ID certificate using productsign. 18 Starting with macOS 10.15 Catalina, Gatekeeper now also requires 21 the binaries included in the package must be built with at least 22 the macOS 10.9 SDK, must now be signed with the codesign utility, 23 and executables must opt in to the hardened run time option with 25 available in the on-line Apple Developer Documentation and man pages. [all …]
|
| /third_party/python/Tools/wasm/ |
| D | README.md | 1 # Python WebAssembly (WASM) build 3 **WARNING: WASM support is work-in-progress! Lots of features are not working yet.** 6 compilation of CPython to WebAssembly (WASM). Python supports Emscripten 7 (*wasm32-emscripten*) and WASI (*wasm32-wasi*) targets. Emscripten builds 12 `Tools/wasm/wasm_build.py`. The tool automates the build process and provides 13 assistance with installation of SDKs. 15 ## wasm32-emscripten build 17 For now the build system has two target flavors. The ``Emscripten/browser`` 18 target (``--with-emscripten-target=browser``) is optimized for browsers. 19 It comes with a reduced and preloaded stdlib without tests and threading [all …]
|
| D | wasm_build.py | 2 """Build script for Python on WebAssembly platforms. 4 $ ./Tools/wasm/wasm_builder.py emscripten-browser build repl 5 $ ./Tools/wasm/wasm_builder.py emscripten-node-dl build test 6 $ ./Tools/wasm/wasm_builder.py wasi build test 8 Primary build targets are "emscripten-node-dl" (NodeJS, dynamic linking), 9 "emscripten-browser", and "wasi". 16 and falls back to /opt/wasi-sdk. 18 The 'build' Python interpreter must be rebuilt every time Python's byte code 21 ./Tools/wasm/wasm_builder.py --clean build build 42 # for Python 3.8 [all …]
|
| /third_party/python/Tools/msi/ |
| D | README.txt | 1 Quick Build Info 4 For testing, the installer should be built with the Tools/msi/build.bat 7 build.bat [-x86] [-x64] [-ARM64] [--doc] 9 For an official release, the installer should be built with the 12 set PYTHON=<path to Python 3.8 or later> 13 set SPHINXBUILD=<path to sphinx-build.exe> 16 buildrelease.bat [-x86] [-x64] [-ARM64] [-D] [-B] 17 [-o <output directory>] [-c <certificate name>] 24 Python is distributed on Windows as an installer that will configure the 25 user's system. This allows users to have a functioning copy of Python [all …]
|
| /third_party/grpc/tools/run_tests/artifacts/ |
| D | build_artifact_python.sh | 5 # you may not use this file except in compliance with the License. 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 21 export PYTHON=${PYTHON:-python} 22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel} 28 # Needed for building binary distribution wheels -- bdist_wheel 29 "${PYTHON}" -m pip install --upgrade pip 31 "${PYTHON}" -m pip install setuptools==69.5.1 wheel==0.43.0 35 # Install Cython to avoid source wheel build failure. 37 # since the docker images used for building python wheels [all …]
|
| /third_party/python/Doc/install/ |
| D | index.rst | 3 .. _install-index: 6 Installing Python Modules (Legacy version) 16 removed in Python 3.12. This documentation is retained as a 17 reference only, and will be removed with the package. See the 18 :ref:`What's New <distutils-deprecated>` entry for more information. 22 :ref:`installing-index` 23 The up to date module installation documentation. For regular Python 31 extensions that are provided as part of this version of Python. Third party 33 recommendations section <https://packaging.python.org/guides/tool-recommendations/>`__ 34 in the Python Packaging User Guide for more information. [all …]
|
| /third_party/vulkan-loader/.github/workflows/ |
| D | build.yml | 1 # Copyright (c) 2021-2024 Valve Corporation 2 # Copyright (c) 2021-2024 LunarG, Inc. 5 # you may not use this file except in compliance with the License. 8 # http://www.apache.org/licenses/LICENSE-2.0 19 name: CI Build 21 # https://docs.github.com/en/actions/using-jobs/using-concurrency 25 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 26 cancel-in-progress: true 32 - main 34 permissions: read-all [all …]
|
| /third_party/python/ |
| D | README.rst | 1 This is Python version 3.11.13 4 .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg 5 :alt: CPython build status on GitHub Actions 6 :target: https://github.com/python/cpython/actions 8 .. image:: https://dev.azure.com/python/cpython/_apis/build/status/Azure%20Pipelines%20CI?branchNam… 9 :alt: CPython build status on Azure DevOps 10 :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=main 12 .. image:: https://img.shields.io/badge/discourse-join_chat-brightgreen.svg 13 :alt: Python Discourse chat 14 :target: https://discuss.python.org/ [all …]
|
| D | .travis.yml | 4 # To cache doc-building dependencies and C compiler output. 6 - pip 7 - ccache 8 - directories: 9 - $HOME/multissl 13 - OPENSSL=1.1.1f 14 - OPENSSL_DIR="$HOME/multissl/openssl/${OPENSSL}" 15 - PATH="${OPENSSL_DIR}/bin:$PATH" 16 - CFLAGS="-I${OPENSSL_DIR}/include" 17 - LDFLAGS="-L${OPENSSL_DIR}/lib" [all …]
|
| /third_party/PyYAML/.github/workflows/ |
| D | manual_artifact_build.yaml | 1 --- 2 # This is the actual artifact build/release workflow. This workflow exists temporarily 3 # because GHA doesn't support a dynamic/conditional matrix. Ensure changes are synced with ci.yaml. 4 name: Manual Artifact Build 19 runs-on: ubuntu-latest 21 - name: Checkout PyYAML 24 - name: Install a python 25 uses: actions/setup-python@v2 26 with: 27 python-version: 3.x [all …]
|
| D | ci.yaml | 1 --- 2 # This is the CI workflow (not the artifact build/release workflow). The workflows 5 # Ensure changes are synced with manual_artifact_build.yaml. 21 runs-on: ubuntu-latest 23 - name: Checkout PyYAML 26 - name: Install a python 27 uses: actions/setup-python@v2 28 with: 29 python-version: 3.x 31 - name: Build sdist [all …]
|
| /third_party/rust/rust/ |
| D | README.md | 3 …tps://img.shields.io/badge/Rust_Community%20-Join_us-brightgreen?style=plastic&logo=rust)](https:/… 8 [Rust]: https://www.rust-lang.org/ 18 ["Installation"]: https://doc.rust-lang.org/book/ch01-01-installation.html 19 [The Book]: https://doc.rust-lang.org/book/index.html 23 The Rust build system uses a Python script called `x.py` to build the compiler, 26 settings for the build. You can see a full list of options in 40 More information about `x.py` can be found by running it with the `--help` flag 43 [gettingstarted]: https://rustc-dev-guide.rust-lang.org/getting-started.html 44 [rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#what-is… 50 * `python` 3 or 2.7 [all …]
|
| /third_party/grpc/tools/run_tests/helper_scripts/ |
| D | build_python.sh | 5 # you may not use this file except in compliance with the License. 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -ex 25 PLATFORM=$(uname -s) 60 if [[ -n "${VIRTUAL_ENV}" ]]; then 65 # Associated virtual environment name for the given python command. 67 $1 -c "import sys; print('py{}{}'.format(*sys.version_info[:2]))" 70 # Path to python executable within a virtual environment depending on the 74 echo 'Scripts/python.exe' 76 echo 'bin/python' [all …]
|
| /third_party/jerryscript/docs/ |
| D | 00.GETTING-STARTED.md | 7 - `gcc` or any C99-compliant compiler (native or cross, e.g., arm-none-eabi) 8 - `cmake` >= `2.8.12.2` 12 - `bash` >= `4.3.11` 13 - `cppcheck` >= `1.61` 14 - `vera++` >= `1.2.1` 15 - `python` >= `2.7.6` 18 sudo apt-get install gcc gcc-arm-none-eabi cmake cppcheck vera++ python 23 - `awk` 24 - `bc` 25 - `find` [all …]
|
| /third_party/python/Lib/test/ |
| D | test_cppext.py | 1 # gh-91321: Build a basic C++ test extension to check that the Python C API is 2 # compatible with C++ and does not emit C++ compiler warnings. 26 # With MSVC, the linker fails with: cannot open file 'python311.lib' 27 # https://github.com/python/cpython/pull/32175#issuecomment-1111175897 32 '-fsanitize' in (sysconfig.get_config_var('PY_CFLAGS') or ''), 33 'test does not work with analyzing builds') 37 # Build in a temporary directory 38 with os_helper.temp_cwd(): 46 cmd = [sys.executable, '-X', 'dev', '-m', 'venv', venv_dir] 52 # Get the Python executable of the venv [all …]
|
| /third_party/python/Doc/extending/ |
| D | building.rst | 13 and must be named after the module name, with an appropriate extension. 21 instance. See :ref:`initializing-modules` for details. 23 .. highlight:: python 25 For modules with ASCII-only names, the function must be named 26 ``PyInit_<modulename>``, with ``<modulename>`` replaced by the name of the 27 module. When using :ref:`multi-phase-initialization`, non-ASCII module names 29 ``PyInitU_<modulename>``, with ``<modulename>`` encoded using Python's 30 *punycode* encoding with hyphens replaced by underscores. In Python:: 36 suffix = b'U_' + name.encode('punycode').replace(b'-', b'_') 48 Building C and C++ Extensions with distutils [all …]
|