File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 25
25
python -m venv venv
26
26
source venv/bin/activate
27
27
pip install --upgrade pip
28
- pip install black
28
+ pip install black build
29
29
sudo pip install flake8
30
30
sudo pip install pip-audit
31
31
pip install -r requirements.txt -r requirements/dev.txt
40
40
working-directory : xero-python
41
41
42
42
- name : Build package
43
- run : python setup.py sdist
43
+ run : python -m build
44
44
working-directory : xero-python
45
45
46
46
- name : Set up Node environment
Original file line number Diff line number Diff line change 29
29
python -m venv venv
30
30
source venv/bin/activate
31
31
pip install --upgrade pip
32
- sudo pip install twine
32
+ sudo pip install build twine
33
33
working-directory : xero-python
34
34
35
35
- name : Fetch Latest release number
43
43
GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
44
44
45
45
- name : Build Package
46
- run : python setup.py sdist
46
+ run : python -m build
47
47
working-directory : xero-python
48
48
49
49
- name : Publish to PyPi
Original file line number Diff line number Diff line change 2
2
python-dateutil >= 2.7
3
3
urllib3
4
4
certifi
5
- setuptools >= 75.1.0
You can’t perform that action at this time.
0 commit comments