From 457c5cb3e3dda8fb5a45314f7214f1866f003094 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 17 Nov 2024 00:28:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20import=20error=20on=20`p?= =?UTF-8?q?ip=20install=20platypush`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pyproject needs a version attribute from a Platypush module, while `version.py` is currently in the source root instead. --- CHANGELOG.md | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83a2f38363..31a2f7997c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [Unreleased] + +- [Bug]: Fixed installation bug in `pip install platypush` introduced by the + `pyproject.toml` migration. + ## [1.3.3] - [`3e02304a`](https://git.platypush.tech/platypush/platypush/commit/3e02304ac203625650ab4b03f9d4146a40839f2f) diff --git a/pyproject.toml b/pyproject.toml index 7335b1c5a3..a0ed0ac639 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ keywords = [ ] [tool.setuptools.dynamic] -version = {attr = "version.__version__"} +version = {attr = "platypush.__version__"} dependencies = {file = "requirements.txt"} [project.urls]