Skip to content

Commit 64fa6b3

Browse files
committed
Project metadata: Remove setup.py
1 parent 693ff94 commit 64fa6b3

File tree

3 files changed

+9
-105
lines changed

3 files changed

+9
-105
lines changed

devtools/create_tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fi
4848

4949
# check if tag to create has already been created
5050
WORKING_DIR=`dirname $0`
51-
VERSION=`python setup.py --version`
51+
VERSION=`hatch project metadata version`
5252
EXISTS=`git tag | grep $VERSION`
5353

5454
if [ "$VERSION" == "$EXISTS" ]

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["hatchling >= 1.26"]
2+
requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[tool.hatch.build.targets.wheel]
@@ -13,7 +13,7 @@ name = "crate-python"
1313
dynamic = ["version"]
1414
description = "CrateDB Python Client"
1515
authors = [{ name = "Crate.io", email = "[email protected]" }]
16-
requires-python = ">=3.10"
16+
requires-python = ">=3.6"
1717
readme = "README.rst"
1818
license = "Apache-2.0"
1919
classifiers = [
@@ -29,16 +29,21 @@ classifiers = [
2929
"Programming Language :: Python :: 3.14",
3030
"Programming Language :: Python :: Implementation :: CPython",
3131
"Programming Language :: Python :: Implementation :: PyPy",
32+
"Programming Language :: SQL",
3233
"Topic :: Database",
34+
"Topic :: Internet :: WWW/HTTP",
35+
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
36+
"Topic :: System :: Networking",
3337
]
3438
dependencies = [
35-
"orjson>=3.11.3",
39+
"orjson",
3640
"urllib3",
3741
"verlib2>=0.3.1",
3842
]
3943

4044
[dependency-groups]
4145
dev = [
46+
"backports.zoneinfo<1; python_version<'3.9'",
4247
"certifi>=2025.10.5",
4348
"coverage<8",
4449
"mypy<1.19",

setup.py

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)