xmake Python build system (PEP 517)
Project description
xmake Python build system (PEP 517)
A python build system based on xmake to output sdist/wheel file respecting PEP517.
- install xmake from PYPI when it cannot be searched in $PATH
- provide some path (like scikit-build-core's
SKBUILD_PLATLIB_DIR) to install python binary module (XXX.cpython-313-x86_64-linux-gnu.so)
Usage
pyproject.toml:
[build-system]
requires = ["xmake-python"]
build-backend = "xmake_python"
Introduction
different from other languages, python build system is consist of two parts:
Frontends
In charge of:
- install
build-system.requires - call
build-system.build-backend'sbuild_wheel()andbuild_sdist().
Backends
Refer some python build system backends
Backend can install optional requires. For example,
scikit-build-core
will install cmake and ninja
only when cmake and ninja are not found in $PATH.
We project to provide two python packages. One is a
wheel for xmake, like cmake and
ninja. Another is a python build system backend, which will install xmake wheel
when xmake is not found in $PATH.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xmake_python-0.0.2.tar.gz.
File metadata
- Download URL: xmake_python-0.0.2.tar.gz
- Upload date:
- Size: 53.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7acaf072087cc9091594caa22dd07f5ec03ab9eb04601181be0476e467cb5cd
|
|
| MD5 |
35146812b6aa40368a2588f65713756d
|
|
| BLAKE2b-256 |
25b11e81ae6f2e70148f2edcc9b2e7859fa1d092ab2278d61c3a178099a68ad0
|
File details
Details for the file xmake_python-0.0.2-py3-none-any.whl.
File metadata
- Download URL: xmake_python-0.0.2-py3-none-any.whl
- Upload date:
- Size: 53.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92ae6f72676a1d6517db6cc98edd2208ddcd8288ce930f70a13f3f5e00cbf834
|
|
| MD5 |
49a46af7b736a2293927a87f31711ec5
|
|
| BLAKE2b-256 |
43bd48a7c425d9109f7eac9684cdb4e98facdfd75d3018afb3ce7c20915cc0bf
|