File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 steps :
6565 - name : Check out code
6666 uses : actions/checkout@v3
67+ with :
68+ submodules : recursive
6769
6870 - name : Set up Python
6971 uses : actions/setup-python@v4.5.0
@@ -73,14 +75,14 @@ jobs:
7375 - name : Install dependencies
7476 run : |
7577 python -m pip install --upgrade pip
76- pip install setuptools wheel twine
78+ pip install --upgrade build twine
7779
7880 - name : Build and publish
7981 env :
8082 TWINE_USERNAME : ' __token__'
8183 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
8284 run : |
83- python setup.py sdist bdist_wheel
85+ python -m build
8486 twine upload --repository testpypi dist/*
8587
8688 publish-to-pypi :
9597 steps :
9698 - name : Check out code
9799 uses : actions/checkout@v3
100+ with :
101+ submodules : recursive
98102
99103 - name : Set up Python
100104 uses : actions/setup-python@v4.5.0
@@ -104,12 +108,12 @@ jobs:
104108 - name : Install dependencies
105109 run : |
106110 python -m pip install --upgrade pip
107- pip install setuptools wheel twine
111+ pip install --upgrade build twine
108112
109113 - name : Build and publish
110114 env :
111115 TWINE_USERNAME : ' __token__'
112116 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
113117 run : |
114- python setup.py sdist bdist_wheel
118+ python -m build
115119 twine upload dist/*
Original file line number Diff line number Diff line change 11[metadata]
22name = python4yahdlc
3- version = 1.3.1
3+ version = 1.3.2
44description = Python binding of the yahdlc library allowing to encode and decode HDLC frames.
55long_description = file: README.rst
66keywords = hdlc, yahdlc, binding, network
You can’t perform that action at this time.
0 commit comments