From 2df553808475add6ca3bfe573cb7811a36453786 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Sun, 10 Sep 2023 18:30:19 +0200 Subject: [PATCH] rename the python package to pgf-majestic and uppload to PyPI --- .github/workflows/build-majestic.yml | 12 ++++++------ src/runtime/python/setup.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index 25edf9475..471e44c90 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -360,9 +360,9 @@ jobs: name: python-windows path: ./dist -# - name: Publish -# env: -# TWINE_USERNAME: __token__ -# TWINE_PASSWORD: ${{ secrets.pypi_password }} -# run: | -# (cd ./src/runtime/python && curl -I --fail https://pypi.org/project/$(python setup.py --name)/$(python setup.py --version)/) || twine upload --skip-existing dist/* + - name: Publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.pypi_password }} + run: | + (cd ./src/runtime/python && curl -I --fail https://pypi.org/project/$(python setup.py --name)/$(python setup.py --version)/) || twine upload --skip-existing dist/* diff --git a/src/runtime/python/setup.py b/src/runtime/python/setup.py index 8dff0676f..0f73f7603 100644 --- a/src/runtime/python/setup.py +++ b/src/runtime/python/setup.py @@ -34,8 +34,8 @@ pgf_module = Extension( libraries = [] if on_windows else ['pgf']) setup( - name = 'pgf', - version = '2.4', + name = 'pgf-majestic', + version = '2.5', description = 'Python bindings to the Grammatical Framework\'s PGF runtime', long_description="""\ Grammatical Framework (GF) is a programming language for multilingual grammar applications.