File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to PyPI
2+
3+ on :
4+ release :
5+ types : [ published ]
6+
7+ jobs :
8+ deploy :
9+
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Set up Python
15+ uses : actions/setup-python@v3
16+ with :
17+ python-version : ' 3.x'
18+ - name : Install dependencies
19+ run : |
20+ python -m pip install --upgrade pip
21+ pip install setuptools wheel twine
22+ - name : Build and publish
23+ env :
24+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26+ run : |
27+ python setup.py sdist bdist_wheel
28+ twine upload dist/*
Original file line number Diff line number Diff line change 11[metadata]
22name = thumbnails
3+ version = attr: thumbnails.__version__
4+ author = Artyom Vancyan
5+ author_email = artyom@pysnippet.org
6+ description = Video thumbnail generator for modern web video players
7+ long_description = file: README.md
8+ long_description_content_type = text/markdown
9+ url = https://github.com/pysnippet/thumbnails
10+ keywords =
11+ vtt
12+ json
13+ thumbnails
14+ thumbnail-generator
15+ license = Apache 2.0
16+ license_file = LICENSE
317platforms = unix, linux, osx, win32
418classifiers =
519 License :: OSI Approved :: Apache Software License
You can’t perform that action at this time.
0 commit comments