From 228520d47e673ae35d5cff76b270d3dc04a39c4c Mon Sep 17 00:00:00 2001 From: Adam McKellar <dev@mckellar.eu> Date: Thu, 27 Jun 2024 18:40:59 +0200 Subject: [PATCH] Fixed terrible terrible package build problems. --- CHANGELOG.md | 12 +++++++++++- pyproject.toml | 8 +++++++- setup.py | 4 +--- src/web_installation_instruction/__init__.py | 0 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 src/web_installation_instruction/__init__.py diff --git a/CHANGELOG.md b/CHANGELOG.md index af22eb1..706eb45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] + + +## [0.2.1] - 2024-06-27 + +### Fixed + +* Fixed setuptool build. + + ## [0.2.0] - 2024-06-27 ### Added @@ -26,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial release. -[unreleased]: https://github.com/instructions-d-installation/web-installation-instruction/compare/v0.2.0...HEAD +[unreleased]: https://github.com/instructions-d-installation/web-installation-instruction/compare/v0.2.1...HEAD +[0.2.1]: https://github.com/instructions-d-installation/web-installation-instruction/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/instructions-d-installation/web-installation-instruction/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/instructions-d-installation/web-installation-instruction/releases/tag/v0.1.0 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 58081c3..68ae2af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ authors = [ { name = "Kanushka Gupta" }, { name = "Timo Ege", email = "timoege@online.de" }, ] -version = "0.2.0" +version = "0.2.1" requires-python = ">=3.10" license = { text = "Apache-2.0" } classifiers = [ @@ -39,3 +39,9 @@ ibi-build-html = "web_installation_instruction.__main__:run_cli" Repository = "https://github.com/instructions-d-installation/web-installation-instruction" Issues = "https://github.com/instructions-d-installation/web-installation-instruction/issues" Changelog = "https://github.com/instructions-d-installation/web-installation-instruction/blob/main/CHANGELOG.md" + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.setuptools.package-data] +web_installation_instruction = ["template/*.jinja"] diff --git a/setup.py b/setup.py index 12b57af..175b6d1 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,3 @@ from setuptools import setup, find_packages -setup( - packages=find_packages("src"), -) \ No newline at end of file +setup() \ No newline at end of file diff --git a/src/web_installation_instruction/__init__.py b/src/web_installation_instruction/__init__.py new file mode 100644 index 0000000..e69de29