| /external/pigweed/docs/ |
| D | python_build.rst | 1 .. _docs-python-build: 4 Pigweed's GN Python Build 8 - :bdg-ref-primary-line:`module-pw_build-python` for detailed template usage. 9 - :bdg-ref-primary-line:`module-pw_build` for other GN templates available 11 - :bdg-ref-primary-line:`docs-build-system` for a high level guide and 12 background information on Pigweed's build system as a whole. 14 Pigweed uses a custom GN-based build system to manage its Python code. The 15 Pigweed Python build supports packaging, installation and distribution of 16 interdependent local Python packages. It also provides for fast, incremental 18 with :ref:`module-pw_watch`) or in continuous integration. [all …]
|
| /external/python/cpython2/Doc/ |
| D | Makefile | 2 # Makefile for Python documentation 7 PYTHON = python macro 8 SPHINXBUILD = sphinx-build 11 DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) 13 ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PAPER) \ 14 $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES) 16 .PHONY: help build html htmlhelp latex text changes linkcheck \ 17 suspicious coverage doctest pydoc-topics htmlview clean dist check serve \ 18 autobuild-dev autobuild-stable 22 @echo " clean to remove build files" [all …]
|
| /external/python/cpython3/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 …]
|
| /external/cronet/third_party/re2/src/.github/workflows/ |
| D | python.yml | 1 name: Python 5 build: 9 wheel-linux: 10 name: Linux ${{ matrix.os }}, ${{ matrix.arch.name }}, Python ${{ matrix.ver }} 11 runs-on: ${{ matrix.arch.runs-on }} 13 image: quay.io/pypa/${{ matrix.os }}_${{ matrix.arch.python-name }} 17 options: --init --user 1001 19 fail-fast: false 22 - { name: X64, python-name: x86_64, runs-on: [ubuntu-latest] } 23 - { name: ARM64, python-name: aarch64, runs-on: [self-hosted, linux, arm64] } [all …]
|
| /external/python/cpython3/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 …]
|
| /external/python/bumble/.github/workflows/ |
| D | python-build-test.yml | 1 # Build and test the python package 2 name: Python build and test 14 build: 15 runs-on: ${{ matrix.os }} 18 os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] 19 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] 20 fail-fast: false 23 - name: Check out from Git 25 - name: Get history and tags for SCM versioning to work 27 git fetch --prune --unshallow [all …]
|
| /external/bazelbuild-rules_python/proposals/ |
| D | 2019-02-12-design-for-a-python-toolchain.md | 1 --- 2 title: Design for a Python Toolchain 4 created: 2019-02-12 5 updated: 2019-02-21 7 - [brandjon@](https://github.com/brandjon) 9 …- [katre@](https://github.com/katre), [mrovner@](https://github.com/mrovner), [nlopezgi@](https://… 11 --- 13 # Design for a Python Toolchain 17 …Python toolchain rule and its associated machinery. Essentially a new `py_runtime_pair` toolchain … 19 …-related definitions are implemented in Starlark. A byproduct of this is that the provider type fo… [all …]
|
| /external/python/cpython2/Mac/ |
| D | README | 2 Python on Mac OS X README 6 Jack Jansen (2004-07), 7 Ronald Oussoren (2010-04), 8 Ned Deily (2014-05) 13 the Python distribution. 18 * ``--enable-framework[=DIR]`` 20 If this argument is specified the build will create a Python.framework rather 22 _`Building and using a framework-based Python on Mac OS X` for more 26 into that directory. This can be used to install a python framework into 29 $ ./configure --enable-framework=/Users/ronald/Library/Frameworks [all …]
|
| /external/python/cpython3/Tools/unicode/ |
| D | Makefile | 2 # Recreate the Python charmap codecs from the Unicode mapping 5 #(c) Copyright Marc-Andre Lemburg, 2005. 8 # Python binary to use 9 PYTHON = python macro 18 codecs: misc windows iso apple ebcdic custom-mappings cjk 23 ncftpget -R ftp.unicode.org . Public/MAPPINGS 27 build/: 28 mkdir build 30 misc: build/ 31 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MISC/ build/ [all …]
|
| /external/python/cpython2/Tools/unicode/ |
| D | Makefile | 2 # Recreate the Python charmap codecs from the Unicode mapping 5 #(c) Copyright Marc-Andre Lemburg, 2005. 8 # Python binary to use 9 PYTHON = python macro 18 codecs: misc windows iso apple ebcdic custom-mappings cjk 23 ncftpget -R ftp.unicode.org . Public/MAPPINGS 27 build/: 28 mkdir build 30 misc: build/ 31 $(PYTHON) gencodec.py MAPPINGS/VENDORS/MISC/ build/ [all …]
|
| /external/python/cpython2/PC/VS7.1/ |
| D | readme.txt | 1 Building Python using VC++ 7.1 2 ------------------------------------- 3 This directory is used to build Python for Win32 platforms, e.g. Windows 10 the "Standard" toolbar"), and build the projects. 12 The proper order to build subprojects: 14 1) pythoncore (this builds the main Python DLL and library files, 19 2) python (this builds the main Python executable, 20 python.exe in Release mode) 23 want to build most of the other subprojects, unless you're building an 24 entire Python distribution from scratch, or specifically making changes [all …]
|
| /external/python/cpython2/PC/VC6/ |
| D | readme.txt | 1 Building Python using VC++ 6.0 or 5.0 2 ------------------------------------- 3 This directory is used to build Python for Win32 platforms, e.g. Windows 9 the Debug or Release setting (using Build -> Set Active Configuration...), 10 and build the projects. 12 The proper order to build subprojects: 14 1) pythoncore (this builds the main Python DLL and library files, 17 2) python (this builds the main Python executable, 18 python.exe in Release mode) 21 want to build most of the other subprojects, unless you're building an [all …]
|
| /external/python/cpython2/PCbuild/ |
| D | readme.txt | 2 ----------------- 7 2a. Optionally install Python 3.6 or later. If not installed, 8 get_externals.bat (build.bat -e) will download and use Python via 10 3. Run "build.bat -e" to build Python in 32-bit Release configuration. 11 4. (Optional, but recommended) Run the test suite with "rt.bat -q". 14 Building Python using MSVC 9.0 via MSBuild 15 ------------------------------------------ 17 This directory is used to build Python for Win32 and x64 platforms, e.g. 29 files to build using a different version of MSVC. For example, use 31 PCbuild\build.bat "/p:PlatformToolset=v100" [all …]
|
| /external/grpc-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 …]
|
| /external/rust/crates/grpcio-sys/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 …]
|
| /external/grpc-grpc/tools/run_tests/artifacts/ |
| D | build_artifact_python.sh | 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 wheel setuptools 33 # Install Cython to avoid source wheel build failure. 35 # since the docker images used for building python wheels 36 # already have a new-enough version of cython pre-installed. 38 # so we are trying to perform as few download-and-install operations [all …]
|
| /external/python/cpython3/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. 18 a compiler that includes an SDK that targets the OS on the build machine, that is 29 * ``--enable-framework[=DIR]`` 31 If this argument is specified the build will create a Python.framework rather 33 _`Building and using a framework-based Python on macOS` for more 37 into that directory. This can be used to install a python framework into [all …]
|
| /external/tensorflow/tensorflow/lite/tools/pip_package/ |
| D | README.md | 4 Python without requiring the rest of TensorFlow. 8 To build a binary wheel run this script: 11 sudo apt install swig libjpeg-dev zlib1g-dev python3-dev python3-numpy 19 pip install --upgrade <wheel> 22 You can also build a wheel inside docker container using make tool. For example 23 the following command will cross-compile tflite-runtime package for python2.7 27 make BASE_IMAGE=debian:buster PYTHON=python TENSORFLOW_TARGET=rpi docker-build 28 make BASE_IMAGE=debian:buster PYTHON=python3 TENSORFLOW_TARGET=rpi docker-build 31 Another option is to cross-compile for python3.5 (from Debian Stretch) on ARM64 35 make BASE_IMAGE=debian:stretch PYTHON=python3 TENSORFLOW_TARGET=aarch64 docker-build [all …]
|
| /external/python/cpython2/PC/VS9.0/ |
| D | readme.txt | 1 Building Python using VC++ 9.0 2 ------------------------------ 4 This directory is used to build Python for Win32 and x64 platforms, e.g. 5 Windows 2000, XP, Vista and Windows Server 2008. In order to build 32-bit 7 required at the very least. In order to build 64-bit debug and release 9 least. In order to build all of the above, as well as generate release builds 11 Professional Edition is required at the very least. The official Python 18 build the solution. Unless you are going to debug a problem in the core or 19 you are going to create an optimized build you want to select "Release" as 26 won't stop you from building Python. [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/run_tests/artifacts/ |
| D | build_artifact_python.sh | 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 wheel 33 # Install Cython to avoid source wheel build failure. 35 # since the docker images used for building python wheels 36 # already have a new-enough version of cython pre-installed. 38 # so we are trying to perform as few download-and-install operations [all …]
|
| /external/grpc-grpc/tools/run_tests/helper_scripts/ |
| D | build_python.sh | 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' 93 PYTHON=${1:-python2.7} [all …]
|
| /external/python/cpython3/.azure-pipelines/windows-release/ |
| D | msi-steps.yml | 5 - template: ./checkout.yml 7 - powershell: | 8 …$d = (.\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches… 9 Write-Host "##vso[task.setvariable variable=SigningDescription]Python $($d.PythonVersion)" 13 - task: DownloadPipelineArtifact@1 17 targetPath: $(Build.BinariesDirectory)\doc 19 - task: CopyFiles@2 22 sourceFolder: $(Build.BinariesDirectory)\doc 23 targetFolder: $(Build.SourcesDirectory)\Doc\build 25 - task: DownloadPipelineArtifact@1 [all …]
|
| D | stage-test-msi.yml | 2 - job: Test_MSI 6 vmImage: windows-2022 14 ExeMatch: 'python-[\dabrc.]+\.exe' 15 Logs: $(Build.ArtifactStagingDirectory)\logs\win32_User 18 ExeMatch: 'python-[\dabrc.]+\.exe' 19 Logs: $(Build.ArtifactStagingDirectory)\logs\win32_Machine 22 ExeMatch: 'python-[\dabrc.]+-amd64\.exe' 23 Logs: $(Build.ArtifactStagingDirectory)\logs\amd64_User 26 ExeMatch: 'python-[\dabrc.]+-amd64\.exe' 27 Logs: $(Build.ArtifactStagingDirectory)\logs\amd64_Machine [all …]
|
| /external/python/cpython3/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 …]
|
| /external/python/typing/.github/workflows/ |
| D | package.yml | 13 runs-on: ubuntu-latest 16 - uses: actions/checkout@v2 18 - name: Set up Python 19 uses: actions/setup-python@v2 21 python-version: 3 23 - name: Install pypa/build 27 python -m pip install --upgrade build 28 python -m pip list 30 - name: Build and install wheel 33 python -m build . [all …]
|