From b5baea707279fc1d631c29a0551747cd48491933 Mon Sep 17 00:00:00 2001 From: Marko Bakovic Date: Mon, 11 Sep 2023 15:19:05 +0200 Subject: [PATCH] Explicitly include *.so in wheel (#7) every file in your package directory will be included in the package, unless it is ignored by your .gitignore (see https://github.com/python-poetry/poetry/issues/2015) since we gitignore *.so files, we need to explicitly include them when building wheel --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 79e61b8..17d56df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,10 @@ description = "" authors = ["Fulcrum Inc. "] readme = "README.md" packages = [{ include = "fibonacci" }] -include = [{ path = "src/", format = "sdist" }] +include = [ + { path = "src/", format = "sdist" }, + { path = "fibonacci/*.so", format = "wheel" }, +] [tool.poetry.build] script = "build.py"