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+ needs : release
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v1
19+ - name : Set up Python
20+ uses : actions/setup-python@v1
21+ with :
22+ python-version : ' 3.x'
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install setuptools wheel twine gitchangelog pystache
27+ - name : Build and publish
28+ env :
29+ TWINE_USERNAME : __token__
30+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
31+ run : |
32+ python setup.py sdist bdist_wheel
33+ 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