From 16efde7506810d73f133fef9581323ac89afdad8 Mon Sep 17 00:00:00 2001 From: Pum <28806828+PumPum7@users.noreply.github.com> Date: Sun, 14 Mar 2021 10:22:05 +0100 Subject: [PATCH 1/2] Delete tatsumaki directory --- tatsumaki/__init__.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tatsumaki/__init__.py diff --git a/tatsumaki/__init__.py b/tatsumaki/__init__.py deleted file mode 100644 index 9da69bb..0000000 --- a/tatsumaki/__init__.py +++ /dev/null @@ -1,12 +0,0 @@ -import tatsumaki.wrapper -import tatsumaki.data_structures - -wrapper = tatsumaki.wrapper -data_structures = tatsumaki.data_structures - -__all__ = [ - 'wrapper', -] - -name = "tatsumaki.py" -version = "0.3" From 4ef6b9f566cc0c066d6efbe2db40555bc2486722 Mon Sep 17 00:00:00 2001 From: Pum <28806828+PumPum7@users.noreply.github.com> Date: Sun, 14 Mar 2021 10:37:15 +0100 Subject: [PATCH 2/2] Automated pypi uploading --- .github/workflows/python-publish.yml | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/python-publish.yml diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml new file mode 100644 index 0000000..1a03a7b --- /dev/null +++ b/.github/workflows/python-publish.yml @@ -0,0 +1,31 @@ +# This workflow will upload a Python Package using Twine when a release is created +# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries + +name: Upload Python Package + +on: + release: + types: [created] + +jobs: + deploy: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and publish + env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + run: | + python setup.py sdist bdist_wheel + twine upload dist/*