Metadata-Version: 2.1
Name: literary-build-hatch
Version: 0.3.0
Summary: Hatchling build plugin for Literary
Author-email: Angus Hollands <goosey15@gmail.com>
License: MIT
Keywords: build,hatch,literary
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.7
Requires-Dist: hatchling>=1.0.0
Requires-Dist: literary>=4.0.0
Requires-Dist: traitlets>=5
Description-Content-Type: text/markdown

# literary-build-hatch
[![pypi-badge][]][pypi]

[pypi-badge]: https://img.shields.io/pypi/v/literary-build-hatch
[pypi]: https://pypi.org/project/literary-build-hatch

A hatch plugin to build wheels from Literary projects.

Example `pyproject.toml`:
```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!
