yosys/pyosys
Catherine afc0e78d11 Update top-level Python project for CMake compatibility.
This commit reimplements the (no longer recommended) setuptools based
build system using a standards-based in-tree PEP517 build backend.
The implementation is partially based on
  https://codeberg.org/ziglang/zig-pypi/src/branch/main/make_wheels.py
which is licensed under BSD-0-clause.

It also adds a new option `YOSYS_BUILD_PYTHON_ONLY` that is available
only if the binary or the library aren't going to be installed, which
turns off these targets entirely, as well as some dependent ones
(e.g. tests).

Co-authored-by: Mohamed Gaber <me@donn.website>
2026-06-03 09:03:23 +00:00
..
build Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
CMakeLists.txt Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
generator.py Migrate build system to CMake 2026-06-03 08:58:10 +00:00
hashlib.h Update top-level Python project for CMake compatibility. 2026-06-03 09:03:23 +00:00
modinit.py Migrate build system to CMake 2026-06-03 08:58:10 +00:00
wrappers_tpl.cc Migrate build system to CMake 2026-06-03 08:58:10 +00:00