Skip to main content

A PEP 517-compliant build backend for Python projects

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.13 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

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.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for oryn-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc3963b590fc2c1589c8327dcf556789012d3a9779a1a7c0b1f721e9df9c22cf
MD5 fcf415af6087aab2c9dd1cbd37d5b5f9
BLAKE2b-256 1c92932921f85e8a7316393d07b982c51d20bd1c9734a64f747c83783b4ad1e6

See more details on using hashes here.

Provenance

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