Skip to content

Commit d39e868

Browse files
authored
Merge pull request #27 from llucax/fix-pkg-name
Fix the Python package name
2 parents 00dcb3c + 28644aa commit d39e868

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

.cookiecutter-replay.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author_name": "Frequenz Energy-as-a-Service GmbH",
1212
"author_email": "[email protected]",
1313
"python_package": "frequenz.client.dispatch",
14-
"pypi_package_name": "frequenz-dispatch-client",
14+
"pypi_package_name": "frequenz-client-dispatch",
1515
"github_repo_name": "frequenz-client-dispatch-python",
1616
"default_codeowners": "@frequenz-floss/api-dispatch-team",
1717
"_template": "gh:frequenz-floss/frequenz-repo-config-python",
@@ -29,7 +29,7 @@
2929
"author_name": "Frequenz Energy-as-a-Service GmbH",
3030
"author_email": "[email protected]",
3131
"python_package": "frequenz.client.dispatch",
32-
"pypi_package_name": "frequenz-dispatch-client",
32+
"pypi_package_name": "frequenz-client-dispatch",
3333
"github_repo_name": "frequenz-client-dispatch-python",
3434
"default_codeowners": "@frequenz-floss/api-dispatch-team"
3535
}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ These are the steps to create a new release:
141141
a [GitHub
142142
Release](https://github.com/frequenz-floss/frequenz-client-dispatch-python/releases),
143143
and upload a new package to
144-
[PyPI](https://pypi.org/project/frequenz-dispatch-client/)
144+
[PyPI](https://pypi.org/project/frequenz-client-dispatch/)
145145
automatically.
146146

147147
6. Once this is done, reset the `RELEASE_NOTES.md` with the template:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Frequenz Dispatch Client Library
22

33
[![Build Status](https://github.com/frequenz-floss/frequenz-client-dispatch-python/actions/workflows/ci.yaml/badge.svg)](https://github.com/frequenz-floss/frequenz-client-dispatch-python/actions/workflows/ci.yaml)
4-
[![PyPI Package](https://img.shields.io/pypi/v/frequenz-dispatch-client)](https://pypi.org/project/frequenz-dispatch-client/)
4+
[![PyPI Package](https://img.shields.io/pypi/v/frequenz-client-dispatch)](https://pypi.org/project/frequenz-client-dispatch/)
55
[![Docs](https://img.shields.io/badge/docs-latest-informational)](https://frequenz-floss.github.io/frequenz-client-dispatch-python/)
66

77
## Introduction

pyproject.toml

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,21 @@ requires = [
1010
build-backend = "setuptools.build_meta"
1111

1212
[project]
13-
name = "frequenz-dispatch-client"
13+
name = "frequenz-client-dispatch"
1414
description = "Dispatch API client for Python"
1515
readme = "README.md"
1616
license = { text = "MIT" }
17-
keywords = ["frequenz", "python", "lib", "library", "dispatch-client", "dispatch", "client", "api", "python"]
17+
keywords = [
18+
"frequenz",
19+
"python",
20+
"lib",
21+
"library",
22+
"dispatch-client",
23+
"dispatch",
24+
"client",
25+
"api",
26+
"python",
27+
]
1828
classifiers = [
1929
"Development Status :: 3 - Alpha",
2030
"Intended Audience :: Developers",
@@ -29,12 +39,12 @@ dependencies = [
2939
"typing-extensions >= 4.6.1, < 5",
3040
# Use direct commit until release
3141
"frequenz-api-dispatch @ git+https://github.com/frequenz-floss/frequenz-api-dispatch.git@223315c",
32-
# "frequenz-api-dispatch >= 0.13.0, < 0.14",
42+
# "frequenz-api-dispatch >= 0.13.0, < 0.14",
3343
"frequenz-client-base >= 0.2.1, < 0.3.0",
3444
# Directly use unreleased commit until the first release
3545
"frequenz-client-common @ git+https://github.com/frequenz-floss/frequenz-client-common-python.git@5e6e7b7",
36-
# "frequenz-client-common == 0.1.0",
37-
"grpcio >= 1.54.2, < 2"
46+
# "frequenz-client-common == 0.1.0",
47+
"grpcio >= 1.54.2, < 2",
3848
]
3949
dynamic = ["version"]
4050

@@ -66,17 +76,14 @@ dev-mypy = [
6676
"mypy == 1.8.0",
6777
"types-Markdown == 3.5.0.20240129",
6878
# For checking the noxfile, docs/ script, and tests
69-
"frequenz-dispatch-client[dev-mkdocs,dev-noxfile,dev-pytest]",
79+
"frequenz-client-dispatch[dev-mkdocs,dev-noxfile,dev-pytest]",
7080
"grpc-stubs == 1.53.0.5",
7181
]
72-
dev-noxfile = [
73-
"nox == 2023.4.22",
74-
"frequenz-repo-config[lib] == 0.9.1",
75-
]
82+
dev-noxfile = ["nox == 2023.4.22", "frequenz-repo-config[lib] == 0.9.1"]
7683
dev-pylint = [
7784
"pylint == 3.1.0",
7885
# For checking the noxfile, docs/ script, and tests
79-
"frequenz-dispatch-client[dev-mkdocs,dev-noxfile,dev-pytest]",
86+
"frequenz-client-dispatch[dev-mkdocs,dev-noxfile,dev-pytest]",
8087
"frequenz-api-dispatch @ git+https://github.com/frequenz-floss/frequenz-api-dispatch.git@223315c",
8188
]
8289
dev-pytest = [
@@ -88,7 +95,7 @@ dev-pytest = [
8895
"hypothesis == 6.98.17",
8996
]
9097
dev = [
91-
"frequenz-dispatch-client[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
98+
"frequenz-client-dispatch[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
9299
]
93100

94101
[project.urls]

0 commit comments

Comments
 (0)