From 9d27abfe0447a4d8a653e0c759576f938b9a2768 Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 18 Aug 2024 03:40:06 +0800 Subject: [PATCH] =?UTF-8?q?:children=5Fcrossing:=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pypi-publish.yml | 2 +- pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 4b5b36a7..79ecb5e3 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -23,4 +23,4 @@ jobs: - uses: pdm-project/setup-pdm@v3 - name: Publish package distributions to PyPI - run: pdm publish --repository testpypi \ No newline at end of file + run: pdm publish --build --repository pypi \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7ebdd8db..21660273 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,5 +32,6 @@ Repository = "https://github.com/LiteyukiStudio/LiteyukiBot" requires = ["pdm-backend"] build-backend = "pdm.backend" -[tool.pdm] -packages = ["liteyuki"] \ No newline at end of file +[tool.pdm.build] +includes = ["liteyuki/", "LICENSE", "README.md"] +excludes = ["tests/", "docs/", "src/"] \ No newline at end of file