mirror of https://github.com/scrapy/scrapy.git
Stop using setup.py (#5776)
This commit is contained in:
parent
7ae32ea38d
commit
deaf1fb6cf
|
|
@ -24,8 +24,8 @@ jobs:
|
|||
- name: Publish to PyPI
|
||||
if: steps.check-release-tag.outputs.release_tag == 'true'
|
||||
run: |
|
||||
pip install --upgrade setuptools wheel twine
|
||||
python setup.py sdist bdist_wheel
|
||||
pip install --upgrade build twine
|
||||
python -m build
|
||||
export TWINE_USERNAME=__token__
|
||||
export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }}
|
||||
twine upload dist/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue