Skip to content

Commit 28483bc

Browse files
authored
Create pypi alias for home-assistant. (#2782)
1 parent ac577dc commit 28483bc

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

MAKE_RELEASE.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Prepare/make release on dev.
2121
cd doc; ./build_html
2222
* rm -rf build/* dist/*
2323
* python3 -m build
24+
* pypi-alias pymodbus_ha_core
2425
* twine check dist/*
2526
* Commit, push and merge.
2627
* Wait for CI to complete

README.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,24 @@ Source code on `github <https://github.com/pymodbus-dev/pymodbus>`_
4848

4949
Full documentation for newest releases as well as the bleeding edge (dev) `readthedocs <https://pymodbus.readthedocs.io>`_
5050

51+
pymodbus is maintained in 2 versions:
52+
- pymodbus, the official library
53+
- pymodbus_ha_core
54+
55+
Pymodbus_ha_core
56+
----------------
57+
`Pymodbus_ha_core <https://pypi.org/project/pymodbus-ha-core/>`_ is
58+
an alias to pymodbus, available on pypi.org.
59+
60+
Being an alias means it is 100% the same as pymodbus, without any extra
61+
code, just another name.
62+
63+
This allows home-assistant to use a pymodbus version for the modbus integration,
64+
while custom_components use another version.
65+
66+
We are offering to make other aliases for projects who need this, please
67+
open an issue in the pymodbus project, with an explanation of why it is
68+
needed.
5169

5270
Pymodbus in a nutshell
5371
----------------------

0 commit comments

Comments
 (0)