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.1-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oryn-2.1-py3-none-any.whl
  • Upload date:
  • Size: 27.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d18fcd2a92b3f0cb603d5d3106c955275752317baf6da8337e1ac733a2e5287b
MD5 35894ac7e245b134ac1014befa35a7c8
BLAKE2b-256 b95fecb9726a6644869805423822b8de2c102c4daa0041bc8859d28c51ba2197

See more details on using hashes here.

Provenance

The following attestation bundles were made for oryn-2.1-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