Skip to content

Commit

Permalink
PYTHON-4173 [python-bsonjs] Fix dist files (#54)
Browse files Browse the repository at this point in the history
* PYTHON-4173 [python-bsonjs] Fix dist files

* install build
  • Loading branch information
blink1073 authored Jan 29, 2024
1 parent f45de61 commit f8ef196
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Build SDist
run: python setup.py sdist --dist-dir=dist --formats=gztar
run: |
python -m pip install build
python -m build --sdist
- uses: actions/upload-artifact@v3
with:
name: "sdist"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[build-system]
requires = ["setuptools>=62.0"]
requires = ["setuptools>=65"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["bsonjs"]
packages = []

[project]
name = "python-bsonjs"
Expand Down

0 comments on commit f8ef196

Please sign in to comment.