Skip to content

Commit

Permalink
Merge pull request #4020 from isuruf/docs
Browse files Browse the repository at this point in the history
Add docs on build_platform and arm64
  • Loading branch information
jjhelmus authored Aug 20, 2020
2 parents 1bfab63 + 934c1e3 commit 571f5c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/resources/define-metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1730,6 +1730,9 @@ variables are booleans.
is ppc64le.
* - osx
- True if the platform is macOS.
* - arm64
- True if the platform is macOS and the Python architecture
is arm64.
* - unix
- True if the platform is either macOS or Linux.
* - win
Expand Down Expand Up @@ -1758,6 +1761,8 @@ variables are booleans.
* - np
- The NumPy version as an integer such as ``111``. See the
CONDA_NPY :ref:`environment variable <build-envs>`.
* - build_platform
- The native subdir of the conda executable

The use of the Python version selectors, `py27`, `py34`, etc. is discouraged in
favor of the more general comparison operators. Additional selectors in this
Expand Down
2 changes: 2 additions & 0 deletions docs/source/user-guide/environment-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ inherited from the shell environment in which you invoke
source file.
* - STDLIB_DIR
- Python standard library location.
* - build_platform
- The native subdir of the conda executable

Unix-style packages on Windows, which are usually statically
linked to executables, are built in a special ``Library``
Expand Down

0 comments on commit 571f5c0

Please sign in to comment.