Skip to content

Commit 1feba49

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

File tree

4 files changed

+12
-109
lines changed

4 files changed

+12
-109
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: 10 additions & 6 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,24 +29,28 @@ 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 = [
42-
"certifi>=2025.10.5",
46+
"backports.zoneinfo<1; python_version<'3.9'",
47+
"certifi",
4348
"coverage<8",
4449
"mypy<1.19",
4550
"poethepoet<1",
4651
"pytest<9",
47-
"pytz>=2025.2",
52+
"pytz",
4853
"ruff<0.15",
49-
"setuptools>=80.9.0",
5054
"stopit<1.2",
5155
]
5256

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
zc.buildout==5.1.1
2-
zope.interface==8.1.1
2+
zope.interface>=8
33
zope.testrunner>=5,<8

setup.py

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

0 commit comments

Comments
 (0)