Skip to content

Commit eaf15a8

Browse files
authoredApr 12, 2024
Merge branch 'master' into integration_to_paz
2 parents 049971a + 5331174 commit eaf15a8

File tree

128 files changed

+11224
-1025
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+11224
-1025
lines changed
 

‎.github/workflows/python-publish.yml

+22-14
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,39 @@
1-
# This workflows will upload a Python Package using Twine when a release is created
2-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
33

4-
name: PyPI upload
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: PyPI package
510

611
on:
712
release:
8-
types: [created]
13+
types: [published]
14+
15+
permissions:
16+
contents: read
917

1018
jobs:
1119
deploy:
1220

1321
runs-on: ubuntu-latest
1422

1523
steps:
16-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
1725
- name: Set up Python
18-
uses: actions/setup-python@v2
26+
uses: actions/setup-python@v3
1927
with:
2028
python-version: '3.x'
2129
- name: Install dependencies
2230
run: |
2331
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
25-
- name: Build and publish
26-
env:
27-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29-
run: |
30-
python setup.py sdist bdist_wheel
31-
twine upload dist/*
32+
pip install build
33+
- name: Build package
34+
run: python -m build
35+
- name: Publish package
36+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+
with:
38+
user: ${{ secrets.PYPI_USERNAME }}
39+
password: ${{ secrets.PYPI_PASSWORD }}

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ checkpoint
2525
*.iml
2626
*.jpeg
2727
*.tgz
28+
*.yml
29+
*.ply
2830

2931
!.github/manifest.xml
3032

0 commit comments

Comments
 (0)