exclude files from hatch build

pull/205/head
Andrew Mirsky 2025-06-17 11:30:08 -04:00
rodzic 2a80968404
commit 7ffab02505
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A98E67635CDF2C39
2 zmienionych plików z 12 dodań i 2 usunięć

Wyświetl plik

@ -7,7 +7,7 @@
![Python Wheel](https://img.shields.io/pypi/wheel/amqtt?style=plastic)
[![PyPI](https://img.shields.io/pypi/v/amqtt?style=plastic&logo=python&logoColor=yellow)](https://pypi.org/project/amqtt/)
![docs/assets/amqtt.svg](https://github.com/Yakifo/amqtt/blob/v0.11.0/docs/assets/amqtt.svg)
![docs/assets/amqtt.svg](docs/assets/amqtt.svg)
`aMQTT` is an open source [MQTT](http://www.mqtt.org) broker and client[^1], natively implemented with Python's [asyncio](https://docs.python.org/3/library/asyncio.html).

Wyświetl plik

@ -86,8 +86,18 @@ amqtt = "amqtt.scripts.broker_script:main"
amqtt_pub = "amqtt.scripts.pub_script:main"
amqtt_sub = "amqtt.scripts.sub_script:main"
[tool.hatch.build]
exclude = [
".venv*",
"tests/",
"**/tests/",
"**/*.pyc",
"**/__pycache__/",
"**/README.md",
]
[tool.hatch.build.targets.sdist]
include = ["/amqtt", "README.md"]
include = ["/amqtt", "README.md", "docs/assets/amqtt.svg"]
[tool.hatch.version]
source = "vcs"