Fix wheels building on old versions

The CI env already had an installed version of setuptools. This old
version didn't support markdown for long description. So it built a
wrong wheel file, and twine complained.
cf. https://github.com/huggingface/tokenizers/runs/331944386
This commit is contained in:
Anthony MOI
2019-12-03 17:41:43 -05:00
parent c46ec97855
commit c4bda752bd

View File

@ -48,7 +48,8 @@ jobs:
- name: Install dependencies
run: |
pip install setuptools wheel setuptools-rust
# On old versions of python there is an old version of setuptools already installed
pip install setuptools wheel setuptools-rust --ignore-installed --force-reinstall
- name: Build wheel
working-directory: ./bindings/python