Skip to main content

Hatchling build plugin for Literary

Project description

literary-build-hatch

pypi-badge

A hatch plugin to build wheels from Literary projects.

Example pyproject.toml:

# Include the generated lib contents in the package root
[tool.hatch.build.targets.wheel.force-include]
"lib" = "/"

# Exclude lib if it isn't ignored by VCS
[tool.hatch.build]
exclude = ["lib"]

# Ensure src is available to editable installs
[tool.hatch.build.targets.wheel]
dev-mode-dirs = ["src"]

# Use Literary build hook
[tool.hatch.build.targets.wheel.hooks.literary]
dependencies = ["literary-build-hatch>=0.2.0"]

# Specify Hatch build-system
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

This hook supports editable installs, so pdm install just works out of the box!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

literary_build_hatch-0.3.0.tar.gz (227.8 kB view hashes)

Uploaded Source

Built Distribution

literary_build_hatch-0.3.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page