Skip to content

Commit 69fca54

Browse files
committed
build and publish wheels
1 parent 3cb9ad7 commit 69fca54

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/build-test-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222

2323
- name: Install dependencies
2424
run: |
25+
python3 -m pip install build
2526
python -m venv venv
2627
source venv/bin/activate
2728
pip install --upgrade pip
@@ -40,7 +41,7 @@ jobs:
4041
working-directory: xero-python
4142

4243
- name: Build package
43-
run: python setup.py sdist
44+
run: python3 -m build
4445
working-directory: xero-python
4546

4647
- name: Set up Node environment

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626

2727
- name: Install dependencies
2828
run: |
29+
python3 -m pip install build
2930
python -m venv venv
3031
source venv/bin/activate
3132
pip install --upgrade pip
@@ -43,7 +44,7 @@ jobs:
4344
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
4445

4546
- name: Build Package
46-
run: python setup.py sdist
47+
run: python3 -m build
4748
working-directory: xero-python
4849

4950
- name: Publish to PyPi

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
python-dateutil>=2.7
33
urllib3
44
certifi
5-
setuptools>=75.1.0

0 commit comments

Comments
 (0)