Mercurial > hgrepos > Python > libs > ConfigMix
view BUILDING.txt @ 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 | e8ff899c363c |
| children |
line wrap: on
line source
.. -*- coding: utf-8 -*- BUILDING ========== 1. hg kwarchive __arch 2. cd __arch 3. Build the documentation. E.g. with (cd docs && gmake html) The documentation currently has to be built when the _speedups C extension module is *not* available. 4. python setup.py sdist 5. python setup.py bdist_wheel --pure-only 6. Optional: python setup.py bdist_wheel 7. Binary package for Winwows: a) Make the Ninja build-file for your system: sh windows-dev/pc03/cross.sh b) Cross-compile with: ninja -f _build-win-amd64.ninja Needs currently LLVM-11. c) Make the resulting DLL available to setup.py: cd configmix && ln -s ../build/_builddir-win-amd64/out/_speedups.pyd _speedups.pyd d) python setup.py bdist_wheel --windows-cross-pack -p win_amd64
