diff --git a/README.md b/README.md index 5c65503..cb8b2fc 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/pyproject.toml b/pyproject.toml index e431a05..d8a2a61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"