Skip to content

Commit e49345a

Browse files
author
stkr22
committed
ci: implementing publish to pypi
1 parent fb168ea commit e49345a

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/workflows/build_and_publish_to_pypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
build-n-publish:
1212
name: Build and publish Python distributions to PyPI
13+
permissions:
14+
id-token: write
1315
runs-on: ubuntu-latest
1416
steps:
1517
- uses: actions/checkout@master
@@ -27,8 +29,6 @@ jobs:
2729
run: >-
2830
python -m
2931
build
30-
- name: Publish distribution to PyPI
31-
if: startsWith(github.ref, 'refs/tags')
32+
33+
- name: Publish package distributions to PyPI
3234
uses: pypa/gh-action-pypi-publish@release/v1
33-
with:
34-
password: ${{ secrets.PYPI_API_TOKEN }}

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ testpaths = [
1111
]
1212

1313
[project]
14-
name = "openwakeword"
14+
name = "private-assistant-openwakeword"
1515
version = "0.6.0"
1616
authors = [
17-
{ name="David Scripka", email="david.scripka@gmail.com" },
17+
{ name="stkr22", email="stkr22@github.com" },
1818
]
19-
description = "An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity"
19+
description = "An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity. Fork of the original package."
2020
readme = "README.md"
2121
requires-python = ">=3.7"
2222
classifiers = [
@@ -27,4 +27,4 @@ classifiers = [
2727
dynamic = ["dependencies", "optional-dependencies"]
2828

2929
[project.urls]
30-
"Homepage" = "https://github.com/dscripka/openWakeWord"
30+
"Homepage" = "https://github.com/stkr22/openWakeWord"

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def build_additional_requires():
2525
return additional_requires
2626

2727
setuptools.setup(
28-
name="openwakeword",
28+
name="private-assistant-openwakeword",
2929
version="0.6.1",
3030
install_requires=[
3131
'tqdm>=4.0,<5.0',
@@ -75,14 +75,14 @@ def build_additional_requires():
7575
'deep-phonemizer==0.0.19'
7676
]
7777
},
78-
author="David Scripka",
79-
author_email="david.scripka@gmail.com",
80-
description="An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity",
78+
author="stkr22",
79+
author_email="stk22@github.com",
80+
description="An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity. Fork of the original package.",
8181
long_description=long_description,
8282
long_description_content_type="text/markdown",
83-
url="https://pypi.org/project/openwakeword",
83+
url="https://pypi.org/project/private-assistant-openwakeword",
8484
project_urls={
85-
"Bug Tracker": "https://pypi.org/project/openwakeword/issues",
85+
"Bug Tracker": "https://pypi.org/project/private-assistant-openwakeword/issues",
8686
},
8787
classifiers=[
8888
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)