Skip to content

Commit

Permalink
Create sdist on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthaf committed May 23, 2023
1 parent 9c496df commit 99b52c5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
python-version: '3.10'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.11.2
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel==2.11.2
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -36,3 +38,29 @@ jobs:
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
name: wheels

build_sdist:
name: build sdist
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true

- uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel setuptools
- name: Build wheels
run: python setup.py sdist

- uses: actions/upload-artifact@v3
with:
path: ./dist/*.tar.gz
name: wheels
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ recursive-include chemfiles *
recursive-include lib *
prune lib/tests
prune lib/doc
include pyproject.toml
include CMakeLists.txt
include README.md
include LICENSE

0 comments on commit 99b52c5

Please sign in to comment.