1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-26 16:55:45 +00:00
libcpuid/.readthedocs.yml
Pavol Žáčik 20fbc35374 Python: Refactor the build of the bindings
When building the binding, link the dynamic
C library as built by `make` instead of linking
the system-installed C library. This simplifies
packaging in Linux distributions and also the
build of the live docs.
2024-09-02 10:27:30 +02:00

26 lines
471 B
YAML

# Read the Docs configuration file
version: 2
build:
os: ubuntu-22.04
tools:
python: latest
apt_packages:
- autoconf
- libtool
- automake
jobs:
pre_install:
- libtoolize
- autoreconf --install
- ./configure
- make
- pip install cffi
- python python/src/libcpuid/_ffi_build.py --runtime-link
sphinx:
configuration: python/docs/conf.py
python:
install:
- requirements: python/docs/requirements.txt