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 requires Python 3.13 or 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oryn-1.0-py3-none-any.whl.
File metadata
- Download URL: oryn-1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74380d3170d6bf34d1170ba49fe86f4ca677407829ad13f914feec0bc8a24b74
|
|
| MD5 |
12376430d5b0fa9e4292acfe1011a7da
|
|
| BLAKE2b-256 |
aa200f48c238128d36a77e28805acbd0afff215cc74eb01b2d466443068d2b5b
|