Align "Building a Python library" documentation with the "Dependency … (#2711)

This commit is contained in:
Erik Montnemery 2025-06-25 17:04:19 +02:00 committed by GitHub
parent c769f0015a
commit a87d626dfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,8 @@ One of the foundational rules of Home Assistant is that we do not include any pr
## Basic library requirements ## Basic library requirements
- The library must have source distribution packages available, it's not allowed to rely on packages that only have binary distribution packages. - The library must have source distribution packages available, it's not allowed to rely on packages that only have binary distribution packages.
- The library versions published on PyPi should correspond to tagged releases in a public online repository.
- The publishing on PyPi must be automated.
- Issue trackers must be enabled for external Python libraries that communicate with external devices or services. - Issue trackers must be enabled for external Python libraries that communicate with external devices or services.
- If the library is mainly used for Home Assistant and you are a code owner of the integration, it is encouraged to use an issue template picker with links to [Home Assistant Core Issues](https://github.com/home-assistant/core/issues). For example: [zwave-js-server-python - New Issue](https://github.com/home-assistant-libs/zwave-js-server-python/issues/new/choose) - If the library is mainly used for Home Assistant and you are a code owner of the integration, it is encouraged to use an issue template picker with links to [Home Assistant Core Issues](https://github.com/home-assistant/core/issues). For example: [zwave-js-server-python - New Issue](https://github.com/home-assistant-libs/zwave-js-server-python/issues/new/choose)
- The library and possible subdependencies of the library must be licensed using an [OSI-approved license](https://opensource.org/license). This should be reflected in the metadata of the library. - The library and possible subdependencies of the library must be licensed using an [OSI-approved license](https://opensource.org/license). This should be reflected in the metadata of the library.