From 71d15894fee393215458bd920039e787ddcc1bb3 Mon Sep 17 00:00:00 2001 From: 4shen0ne <4shen.01@gmail.com> Date: Thu, 24 Oct 2024 17:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20version=200.1.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/on-release-main.yml | 7 +++---- pyproject.toml | 5 ++++- uv.lock | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/on-release-main.yml b/.github/workflows/on-release-main.yml index 3fec054..0d4c665 100644 --- a/.github/workflows/on-release-main.yml +++ b/.github/workflows/on-release-main.yml @@ -48,10 +48,9 @@ jobs: run: uvx --from build pyproject-build --installer uv - name: Publish package - run: uvx twine upload dist/* - env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_TOKEN }} deploy-docs: needs: publish diff --git a/pyproject.toml b/pyproject.toml index de1e53e..3fb52f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nmass" -version = "0.1.4" +version = "0.1.5" description = "A python3 library that makes it easier to use nmap and masscan." authors = [{ name = "4shen0ne", email = "4shen.01@gmail.com" }] readme = "README.md" @@ -47,6 +47,9 @@ dev-dependencies = [ requires = ["setuptools >= 61.0"] build-backend = "setuptools.build_meta" +[tool.setuptools] +py-modules = ["nmass"] + [tool.mypy] files = ["nmass"] disallow_untyped_defs = true diff --git a/uv.lock b/uv.lock index 6247582..279086d 100644 --- a/uv.lock +++ b/uv.lock @@ -637,7 +637,7 @@ wheels = [ [[package]] name = "nmass" -version = "0.1.4" +version = "0.1.5" source = { editable = "." } dependencies = [ { name = "aiofiles" },