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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oryn-1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6118e9252407e44a7f3858013d702281efaaa20be0a27e48ab1abc8d495bf8
MD5 e458389d45febe2c87ecc552dc4a53b7
BLAKE2b-256 a0439867840dc01e0d57e73c48134200b3f3a8ae06179ebae1948cee34fad817

See more details on using hashes here.

Provenance

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