Skip to content

Commit

Permalink
CI: Make release distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Jul 31, 2024
1 parent bb803ca commit 8c588f7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Make drakpdb distribution"
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
release_pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Build source distribution
run: python3 setup.py sdist
- name: Build wheel distribution
run:
pip install cibuildwheel==2.19.2
python -m cibuildwheel --output-dir dist --archs x86_64 --platform linux
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels
path: ./dist/*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
drakpdb = "drakpdb.main:main"

[tool.setuptools]
packages = ["drakpdb", "drakpdb.pdbparse"]
packages = ["drakpdb", "drakpdb.pdbparse", "drakpdb.pdbparse._undname"]

[tool.black]
exclude = "drakpdb/pdbparse/*"
Expand Down

0 comments on commit 8c588f7

Please sign in to comment.