Skip to main content

PEP 517-compliant build backend

Project description

Oryn

Oryn is a PEP 517-compliant build backend for Python projects.

For now, Oryn only supports pure Python wheels and just recursively copies files from the project root into the wheel, making sure to ignore certain files. It also copies the appropriate metadata from pyproject.toml into the wheel's metadata.

Oryn supports Python 3.12 and later.

Usage

Add the following to your pyproject.toml:

[build-system]
requires = ["oryn~=1.0"]
build-backend = "oryn"

[tool.oryn]
# 1. Add inclusion roots
# Only the last part of the path is retained in the wheel. Paths are relative
# to the project root despite the absence of a leading slash.

# For a src layout
include = ["src/foo/"]
include = ["src/*/"]

# For a flat layout
include = ["foo/"]

# 2. Add ignored files, using patterns similar to .gitignore.
ignore = [
  "*.pyc",
]

# 3. Optionally reuse existing .gitignore rules.
use-gitignore = true

[[tool.oryn.distributions]]
abi = "abi3"
interpreter = "cp311"
platform = "macosx_14_0_arm64"

# 4. Optionally override specific files in the wheel.
overrides = { "src/foo.so": "builds/linux-cp311.so" }

The following files are ignored by default:

  • __pycache__/
  • .DS_Store
  • .git/
  • .gitignore
  • .venv/
  • *.egg-info/

To show which files will be included, install Oryn and run python -m oryn. If using uv, run uv run --with oryn python -m oryn

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

oryn-2.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file oryn-2.0-py3-none-any.whl.

File metadata

  • Download URL: oryn-2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for oryn-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a6eef86e8301d17dd8505cb6d28b2906f6e5ec37a1655a1133fbf405bfc819
MD5 2a4dcf6dbd268fc4261392c95d65eaae
BLAKE2b-256 5c82a2bc0a0e5fc5ca66eddebd830f86120691059f56b1ba5cf06ac0e8e1d807

See more details on using hashes here.

Provenance

The following attestation bundles were made for oryn-2.0-py3-none-any.whl:

Publisher: publish.yml on slietar/oryn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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