From 237cef336fa4eb4ca4229a32d9ad079ab22c409d Mon Sep 17 00:00:00 2001 From: G-type <162748908+gtref@users.noreply.github.com> Date: Tue, 27 Oct 2026 15:53:41 +1300 Subject: [PATCH] Added build for pypi Signed-off-by: G-type <162748908+gtref@users.noreply.github.com> --- .github/workflows/build.yml | 34 ++++++++++++++++++++++++++++++++++ pyproject.toml | 9 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..663aa49 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,34 @@ +name: Build Package + +on: + push: + branches: + - main + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.12" + + - name: Install build + run: | + python -m pip install --upgrade pip + python -m pip install build + + - name: Build package + run: python -m build + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: dist + path: dist/* diff --git a/pyproject.toml b/pyproject.toml index ef98f77..98a46eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,15 @@ description = "Beginner-friendly Python CLI with planted bugs to practice open s readme = "README.md" requires-python = ">=3.8" license = { text = "MIT" } +authors = [ + { name = "codepiyusss" } +] + + +[project.urls] +Homepage = "https://github.com/codepiyusss/open_source_issue_contribution" +Repository = "https://github.com/codepiyusss/open_source_issue_contribution" +Issues = "https://github.com/codepiyusss/open_source_issue_contribution/issues" [project.optional-dependencies] dev = ["pytest", "ruff>=0.12.0", "mypy>=1.0,<2", "pytest-cov"]