Skip to content

Commit 9b7fb1e

Browse files
authored
Fix build deprecation warnings in using pyproject.toml and setuptool (#57)
* update setuptools parameters for strict standards starting 2023-Oct-30 * remove invalid url for homepage of the project * remove invalid url for homepage of the project * update the docs url in pyproject.toml
1 parent b484d7b commit 9b7fb1e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ version = "5.31.0"
44
authors = [
55
{name="PingThingsIO", email="support@pingthings.io"},
66
]
7+
maintainers = [
8+
{name="PingThingsIO", email="support@pingthings.io"},
9+
]
710
description = "Bindings to interact with the Berkeley Tree Database using gRPC."
811
readme = "README.md"
912
license = {file="LICENSE.txt"}
@@ -65,8 +68,7 @@ all = [
6568
]
6669

6770
[project.urls]
68-
"Homepage" = "https://btrdb.io"
69-
"Docs" = "https://btrdb.readthedocs.io"
71+
"Docs" = "https://btrdb-python.readthedocs.io/"
7072
"Repository" = "https://github.com/pingthingsio/btrdb-python.git"
7173

7274
[build-system]

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
2-
description-file = DESCRIPTION.md
3-
license_file = LICENSE.txt
2+
description_file = DESCRIPTION.md
3+
license_files = LICENSE.txt
44

55
[aliases]
66
test=pytest

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
REPOSITORY = "https://github.com/PingThingsIO/btrdb-python"
3636
PACKAGE = "btrdb"
3737
URL = "http://btrdb.io/"
38-
DOCS_URL = "https://btrdb.readthedocs.io/en/latest/"
38+
DOCS_URL = "https://btrdb-python.readthedocs.io/"
3939

4040
## Define the keywords
4141
KEYWORDS = ("btrdb", "berkeley", "timeseries", "database", "bindings" "gRPC")
@@ -133,7 +133,6 @@ def get_description_type(path=PKG_DESCRIBE):
133133
"license": LICENSE,
134134
"author": AUTHOR,
135135
"author_email": EMAIL,
136-
"url": URL,
137136
"maintainer": MAINTAINER,
138137
"maintainer_email": EMAIL,
139138
"project_urls": {

0 commit comments

Comments
 (0)