From 6b09f6ba695e148c15f3a1708390aafecd299ae9 Mon Sep 17 00:00:00 2001 From: flandre Date: Sat, 12 Apr 2025 16:40:57 +0800 Subject: [PATCH] add wheel build --- .gitignore | 3 ++- MANIFEST.in | 1 + pyproject.toml | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 MANIFEST.in diff --git a/.gitignore b/.gitignore index 36c2f91..2adcb14 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ __pycache__ @DS launch.toml *.log -doc \ No newline at end of file +doc +flandre.egg-info \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..52b66e0 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include flandre *.ui \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index a81119c..6b22ded 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,3 +18,7 @@ dependencies = [ "pyjoystick>=1.2.4", "platformdirs>=4.3.6", ] + +[tool.setuptools.packages.find] +exclude = ["bak", "test"] +include = ["flandre*"]