1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-11 23:01:56 +02:00

(v2.1.1.9095) Python support

This commit is contained in:
2024-10-15 17:12:55 +02:00
parent 94501371cd
commit 5c4d8fcd2a
18 changed files with 513 additions and 435 deletions

View File

@ -30,7 +30,7 @@
on:
push:
# only on main
branches: 'main_UPDATE_THIS'
branches: "main"
name: Publish Python Package to PyPI
@ -53,14 +53,17 @@ jobs:
python -m pip install --upgrade pip
pip install build twine
- name: Build the package
run: python -m build
- name: Build the Python package
run: |
cd data-raw/
bash _generate_python_wrapper.sh
- name: Publish to PyPI
env:
TWINE_USERNAME: "msberends"
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
cd data-raw/python_wrapper/AMR
python -m twine upload dist/*
# for test server:
# python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*