🐛 Fixed import error on pip install platypush.

pyproject needs a version attribute from a Platypush module, while
`version.py` is currently in the source root instead.
This commit is contained in:
Fabio Manganiello 2024-11-17 00:28:04 +01:00
parent fd07709811
commit 457c5cb3e3
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
# Changelog # Changelog
## [Unreleased]
- [Bug]: Fixed installation bug in `pip install platypush` introduced by the
`pyproject.toml` migration.
## [1.3.3] ## [1.3.3]
- [`3e02304a`](https://git.platypush.tech/platypush/platypush/commit/3e02304ac203625650ab4b03f9d4146a40839f2f) - [`3e02304a`](https://git.platypush.tech/platypush/platypush/commit/3e02304ac203625650ab4b03f9d4146a40839f2f)

View file

@ -19,7 +19,7 @@ keywords = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "version.__version__"} version = {attr = "platypush.__version__"}
dependencies = {file = "requirements.txt"} dependencies = {file = "requirements.txt"}
[project.urls] [project.urls]