Skip to content

Commit

Permalink
fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lemisky committed Apr 27, 2023
1 parent f366a27 commit 51a547d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 48 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: dist/*
#- name: pypi-publish
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_API_TOKEN }}
- name: pypi-publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ name = "pygtrans"
authors = [
{ name = "foyoux" },
]
description = "python package pygtrans"
keywords = ["pygtrans"]
description = "Google Translate, support APIKEY"
keywords = ["pygtrans", "google", "translate", "apikey", "text", "html", "google.cn", "google.com"]
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Environment :: Console",
"Natural Language :: Chinese (Simplified)",
"Development Status :: 5 - Production/Stable",
]
dynamic = ["version", "dependencies"]

Expand All @@ -28,6 +31,7 @@ dynamic = ["version", "dependencies"]
"Source" = "https://github.com/foyoux/pygtrans"
"Homepage" = "https://github.com/foyoux/pygtrans"
"Bug Tracker" = "https://github.com/foyoux/pygtrans/issues"
"Documentation" = "https://pygtrans.readthedocs.io/zh_CN/latest/"


[project.scripts]
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
requests[socks]
pytest
requests[socks]
37 changes: 0 additions & 37 deletions setup.cfg

This file was deleted.

0 comments on commit 51a547d

Please sign in to comment.