Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ on:
- published

jobs:
build_sdist:
name: Build SDist
build_dist:
name: Build Dist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Build SDist
run: pipx run build --sdist
- name: Build Dist
run: pipx run build

- name: Check Metadata
run: pipx run twine check --strict dist/*

- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz
path: dist/

upload_all:
name: Upload if release
needs: [build_sdist]
needs: [build_dist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment:
Expand All @@ -48,7 +48,7 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
path: dist/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.4
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include LICENSE.md
recursive-include pyulog/sql *
recursive-exclude test *.ulg
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools", "setuptools-scm>=8"]
requires = ["setuptools>=77.0.3", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -53,6 +53,3 @@ Repository = "https://github.com/PX4/pyulog"
test = ['pytest', 'ddt']

[tool.setuptools_scm]

[tool.setuptools.packages]
find = {}
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
long_description="\n".join(DOCLINES),
long_description_content_type='text/x-rst',
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
include_package_data=True,
)