Skip to main content

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"

example

Introduction

different from other languages, python build system is consist of two parts:

Frontends

  • build: python -m build
  • uv: uv build

In charge of:

  • install build-system.requires
  • call build-system.build-backend's build_wheel() and build_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xmake_python-0.0.1.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xmake_python-0.0.1-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file xmake_python-0.0.1.tar.gz.

File metadata

  • Download URL: xmake_python-0.0.1.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xmake_python-0.0.1.tar.gz
Algorithm Hash digest
SHA256 90ce5dc33261666b70b79ed43652512cf7b61fd7c101ba068fd6b1b6c536d443
MD5 ba221c96cb29599d35e8b5cac6f4559a
BLAKE2b-256 11f1568ac3b29fff8bfb2676110d54e8a63104edf49e352ef05e119f58223229

See more details on using hashes here.

File details

Details for the file xmake_python-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xmake_python-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for xmake_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24b5ea2f27aa75e23244606f9dd39ce7acfe4d623de9c555f2bd56f818f1f384
MD5 e1172bd7742bfa10a36a5b07fd2e8b08
BLAKE2b-256 ceef053a5f8e116d55da00d4815a9ba46b6962f63ca6be328082501ca37ac918

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page