A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

build-macos-wheels.yml 937 B

123456789101112131415161718192021222324252627282930
  1. name: Build macOS wheels
  2. on: push
  3. jobs:
  4. build:
  5. runs-on: macos-latest
  6. strategy:
  7. matrix:
  8. python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Set up Python ${{ matrix.python-version }}
  12. uses: actions/setup-python@v1
  13. with:
  14. python-version: ${{ matrix.python-version }}
  15. - name: Build wheels
  16. run: |
  17. python -m pip install --upgrade pip wheel setuptools
  18. pip wheel . -w dist/
  19. ls dist/
  20. - name: Publish package to PyPI
  21. # Only actually publish if a new tag was pushed
  22. if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
  23. # We can't use the pypa action because of https://github.com/pypa/gh-action-pypi-publish/issues/15
  24. run: |
  25. pip install twine
  26. TWINE_USERNAME="__token__" \
  27. TWINE_PASSWORD="${{ secrets.pypi_password }}" \
  28. twine upload dist/*