Mercurial > hgrepos > Python > libs > ConfigMix
annotate windows-dev/pc03/cross.sh @ 654:0d6673d06c2c
Add support for using "tomllib" (in Python's stdlib since 3.11) and "tomli" TOML packages.
They are preferred if they are found to be installed.
But note that the declared dependency for the "toml" extra nevertheless
is the "toml" package. Because it is available for all supported Python
versions.
So use Python 3.11+ or install "tomli" manually if you want to use the
alternate packages.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 19 May 2022 22:10:59 +0200 |
| parents | 9ba0217a5e67 |
| children |
| rev | line source |
|---|---|
|
581
9ba0217a5e67
FIX: When cross-compiling use the limited API for Python 3.7+ (not Python 3.10+)
Franz Glasner <fzglas.hg@dom66.de>
parents:
574
diff
changeset
|
1 python3 windows-dev/Configure.py --build=posix --host=windows --tool=clang-cl --intdir=build/_builddir-win-amd64 --sys-include=/home/fag/work/windows-dev/WindowsKit-10/Include/10.0.18362.0/um --sys-include=/home/fag/work/windows-dev/WindowsKit-10/Include/10.0.18362.0/shared --sys-include=/home/fag/work/windows-dev/WindowsKit-10/Include/10.0.18362.0/ucrt --sys-include=/home/fag/work/windows-dev/VS2017-2019/VC/Tools/MSVC/14.29.30133/include --include=/home/fag/work/windows-dev/Python37-SDK-Win/amd64/include --CC=/usr/local/llvm11/bin/clang-cl --sys-libpath=/home/fag/work/windows-dev/WindowsKit-10/Lib/10.0.18362.0/um/x64 --sys-libpath=/home/fag/work/windows-dev/WindowsKit-10/Lib/10.0.18362.0/ucrt/x64 --sys-libpath=/home/fag/work/windows-dev/VS2017-2019/VC/Tools/MSVC/14.29.30133/lib/x64 --libpath=/home/fag/work/windows-dev/Python37-SDK-Win/amd64/libs/ --LINK=/usr/local/llvm11/bin/lld-link --python-limited-api=0x03070000 > _build-win-amd64.ninja |
