Skip to content

Commit f8ef196

Browse files
authored
PYTHON-4173 [python-bsonjs] Fix dist files (#54)
* PYTHON-4173 [python-bsonjs] Fix dist files * install build
1 parent f45de61 commit f8ef196

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/release-python.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,14 @@ jobs:
8282
runs-on: ubuntu-latest
8383
steps:
8484
- uses: actions/checkout@v4
85+
- name: Setup Python
86+
uses: actions/setup-python@v4
87+
with:
88+
python-version: 3.7
8589
- name: Build SDist
86-
run: python setup.py sdist --dist-dir=dist --formats=gztar
90+
run: |
91+
python -m pip install build
92+
python -m build --sdist
8793
- uses: actions/upload-artifact@v3
8894
with:
8995
name: "sdist"

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[build-system]
2-
requires = ["setuptools>=62.0"]
2+
requires = ["setuptools>=65"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.setuptools]
6-
packages = ["bsonjs"]
6+
packages = []
77

88
[project]
99
name = "python-bsonjs"

0 commit comments

Comments
 (0)