Skip to content

Commit ac5519b

Browse files
committed
Move away from setup.cfg to pyproject.toml; changed tree layout
1 parent 7ff3bf6 commit ac5519b

File tree

10 files changed

+46
-58
lines changed

10 files changed

+46
-58
lines changed

docs/changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Development Version 1.7.0 [unreleased]
66
======================================
77

88
* New: `.Cursor.to_dict` method.
9-
9+
* Move away from setup.cfg to pyproject.toml, changed source three layout.
1010

1111
Version 1.6.0
1212
=============

pyproject.toml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
11
[build-system]
2-
requires = ["setuptools >= 61.0"]
2+
requires = ["setuptools >= 65.0.0","wheel"]
33
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "firebird-driver"
7+
description = "Firebird driver for Python"
8+
readme = "README.rst"
9+
requires-python = ">=3.8"
10+
license = { file = "LICENSE" }
11+
authors = [{ name = "Pavel Císař", email = "[email protected]"}]
12+
keywords = ["Firebird", "RDBMS", "driver"]
13+
classifiers = [
14+
"Development Status :: 5 - Production/Stable",
15+
"Intended Audience :: Developers",
16+
"License :: OSI Approved :: MIT License",
17+
"Programming Language :: Python :: 3 :: Only",
18+
"Programming Language :: Python :: 3.8",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Operating System :: POSIX :: Linux",
23+
"Operating System :: Microsoft :: Windows",
24+
"Operating System :: MacOS",
25+
"Topic :: Software Development",
26+
"Topic :: Database",
27+
]
28+
dependencies = [
29+
"firebird-base>=1.5.0",
30+
"python-dateutil>=2.8",
31+
]
32+
dynamic = ["version"]
33+
34+
[project.urls]
35+
Home = "https://github.com/FirebirdSQL/python3-base"
36+
Documentation = "https://firebird-base.rtfd.io"
37+
"Bug Reports" = "https://github.com/FirebirdSQL/python3-base/issues"
38+
Funding = "https://www.firebirdsql.org/en/donate/"
39+
Source = "https://github.com/FirebirdSQL/python3-base"
40+
41+
[tool.setuptools]
42+
zip-safe = true
43+
44+
[tool.setuptools.dynamic]
45+
version = {attr = "firebird.driver.__VERSION__"}

setup.cfg

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

firebird/driver/__init__.py renamed to src/firebird/driver/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@
5959
Server, Statement)
6060

6161
#: Current driver version, SEMVER string.
62-
__VERSION__ = '1.6.0'
62+
__VERSION__ = '1.7.0'
File renamed without changes.

firebird/driver/core.py renamed to src/firebird/driver/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3892,7 +3892,7 @@ def is_bof(self) -> bool:
38923892
assert self._result is not None
38933893
return self._result.is_bof()
38943894
def to_dict(self, row: Tuple, into: Dict=None) -> Dict:
3895-
"""Return row tuple as dictionary with field names as keys. Returns new dictionary
3895+
"""Returns row tuple as dictionary with field names as keys. Returns new dictionary
38963896
if `into` argument is not provided, otherwise returns `into` dictionary updated
38973897
with row data.
38983898
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)