A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

34 rader
983 B

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