File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Upload Python Package
2+
3+ on :
4+ push :
5+ # Sequence of patterns matched against refs/tags
6+ tags :
7+ - ' *' # Push events to matching v*, i.e. v1.0, v20.15.10
8+
9+ # Allows you to run this workflow manually from the Actions tab
10+ workflow_dispatch :
11+ permissions :
12+ contents : write
13+ jobs :
14+ deploy :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v1
18+ - name : Set up Python
19+ uses : actions/setup-python@v1
20+ with :
21+ python-version : ' 3.x'
22+ - name : Install dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install setuptools wheel twine gitchangelog pystache
26+ - name : Build and publish
27+ env :
28+ TWINE_USERNAME : __token__
29+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
30+ run : |
31+ python setup.py sdist bdist_wheel
32+ twine upload dist/*
Original file line number Diff line number Diff line change 44 long_description = rfd .read ()
55
66setuptools .setup (
7- name = 'fast-enum ' ,
7+ name = 'fastenumplus ' ,
88 version = '1.4.0' ,
99 license = 'MIT' ,
1010 platforms = ['any' ],
1313 description = 'A fast pure-python implementation of Enum' ,
1414 long_description = long_description ,
1515 long_description_content_type = 'text/markdown' ,
16- url = 'https://github.com/QratorLabs /fastenum' ,
16+ url = 'https://github.com/hiddify /fastenum' ,
1717 packages = ['fast_enum' ],
1818 classifiers = [
1919 'License :: OSI Approved :: MIT License' ,
You can’t perform that action at this time.
0 commit comments