| /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/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/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/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 …]
|
| D | build-installer.py | 1 #!/usr/bin/env python 3 This script is used to build "official" universal installers on macOS. 6 - support universal2 variant with arm64 and x86_64 archs 7 - enable clang optimizations when building on 10.15+ 10 - 2.7 end-of-life issues: 11 - Python 3 installs now update the Current version link 12 in /Library/Frameworks/Python.framework/Versions 13 - fully support running under Python 3 as well as 2.7 14 - support building on newer macOS systems with SIP 15 - fully support building on macOS 10.9+ [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/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/vulkan-loader/.github/workflows/ |
| D | build.yml | 1 # Copyright (c) 2021-2023 Valve Corporation 2 # Copyright (c) 2021-2023 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/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/python/ |
| D | README.rst | 1 This is Python version 3.11.4 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/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/protobuf/examples/ |
| D | README.md | 1 # Protocol Buffers - Code Example 12 https://developers.google.com/protocol-buffers/docs/tutorials 14 ## Build the example using bazel 16 The example requires bazel 0.5.4 or newer to build. You can download/install 22 directory to build the code: 24 $ bazel build :all 28 $ bazel-bin/add_person_cpp addressbook.data 31 [BUILD](BUILD) file and [WORKSPACE](WORKSPACE) file. 33 ## Build the example using make 35 You must install the protobuf package before you can build it using make. The [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 …]
|
| /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/howto/ |
| D | instrumentation.rst | 1 .. highlight:: shell-session 6 Instrumenting CPython with DTrace and SystemTap 14 domain-specific languages allowing a user to write scripts which: 16 - filter which processes are to be observed 17 - gather data from the processes of interest 18 - generate reports on the data 20 As of Python 3.6, CPython can be built with embedded "markers", also 25 .. impl-detail:: 34 --------------------------- 36 macOS comes with built-in support for DTrace. On Linux, in order to [all …]
|
| /third_party/python/PC/ |
| D | store_info.txt | 5 Since Python 3.7.2, releases have been made through the Microsoft Store 10 To build the store package, the PC/layout script should be used. 11 Execute the directory with the build of Python to package, and pass 12 "-h" for full command-line options. 16 https://docs.microsoft.com/windows/uwp/packaging/create-certificate-package-signing. 19 SHA256 hash. The `certutil -dump <cert file>` command will display this 22 To build for sideloading, use these commands in PowerShell: 29 python PC/layout --copy <layout directory> --include-appxmanifest 30 Tools/msi/make_appx.ps1 <layout directory> python.msix -sign 32 Add-AppxPackage python.msix [all …]
|