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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oryn-1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3fd56ccf7ec4ba4b71f01f632347e51c1122483e864ebc2080906ba91af505b7
MD5 20f11306d188a2119e2d75051b9f30eb
BLAKE2b-256 b0e994b85af839a50a33975d38ff8d07bd9f6eb00d99d6fd21187a4942aa116e

See more details on using hashes here.

Provenance

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