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.2.tar.gz (53.9 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.2-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

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

Hashes for xmake_python-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c7acaf072087cc9091594caa22dd07f5ec03ab9eb04601181be0476e467cb5cd
MD5 35146812b6aa40368a2588f65713756d
BLAKE2b-256 25b11e81ae6f2e70148f2edcc9b2e7859fa1d092ab2278d61c3a178099a68ad0

See more details on using hashes here.

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

Hashes for xmake_python-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 92ae6f72676a1d6517db6cc98edd2208ddcd8288ce930f70a13f3f5e00cbf834
MD5 49a46af7b736a2293927a87f31711ec5
BLAKE2b-256 43bd48a7c425d9109f7eac9684cdb4e98facdfd75d3018afb3ce7c20915cc0bf

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