8000 Move away from setup.cfg to pyproject.toml; changed tree layout; buil… · FirebirdSQL/python3-lib@983884d · GitHub
[go: up one dir, main page]

Skip to content

Commit 983884d

Browse files
committed
Move away from setup.cfg to pyproject.toml; changed tree layout; build cleanup
1 parent ea1b45b commit 983884d

File tree

18 files changed

+10984
-61
lines changed

18 files changed

+10984
-61
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dist/
1414
downloads/
1515
eggs/
1616
.eggs/
17-
lib/
1817
lib64/
1918
parts/
2019
sdist/

MANIFEST.in

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

docs/changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
#########
44

5+
Development Version 1.3.0 [unreleased]
6+
======================================
7+
8+
* Move away from setup.cfg to pyproject.toml, changed source three layout.
9+
510
Version 1.2.2
611
=============
712

docs/firebird-lib.docset/Contents/Resources/Documents/_modules/firebird/lib/gstat.html

Lines changed: 877 additions & 0 deletions
Large diffs are not rendered by default.

docs/firebird-lib.docset/Contents/Resources/Documents/_modules/firebird/lib/log.html

Lines changed: 320 additions & 0 deletions
Large diffs are not rendered by default.

docs/firebird-lib.docset/Contents/Resources/Documents/_modules/firebird/lib/logmsgs.html

Lines changed: 1226 additions & 0 deletions
Large diffs are not rendered by default.

docs/firebird-lib.docset/Contents/Resources/Documents/_modules/firebird/lib/monitor.html

Lines changed: 1282 additions & 0 deletions
Large diffs are not rendered by default.

docs/firebird-lib.docset/Contents/Resources/Documents/_modules/firebird/lib/schema.html

Lines changed: 5102 additions & 0 deletions
Large diffs are not rendered by default.

docs/firebird-lib.docset/Contents/Resources/Documents/_modules/firebird/lib/trace.html

Lines changed: 2130 additions & 0 deletions
Large diffs are not rendered by default.

pyproject.toml

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

setup.cfg

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

src/firebird/lib/__init__.py

Whitespace-only changes.
File renamed without changes.

firebird/lib/log.py renamed to src/firebird/lib/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
from dataclasses import dataclass
4444
from contextlib import suppress
4545
from firebird.base.types import Error, STOP, Sentinel
46-
from firebird.lib.logmsgs import identify_msg, Severity, Facility
46+
from .logmsgs import identify_msg, Severity, Facility
4747

4848
@dataclass(order=True, frozen=True)
4949
class LogMessage:
File renamed without changes.

firebird/lib/monitor.py renamed to src/firebird/lib/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from enum import Enum, IntEnum
4545
from firebird.base.collections import DataList
4646
from firebird.driver import tpb, Connection, Cursor, Statement, Isolation, Error, TraAccessMode
47-
from firebird.lib.schema import ObjectType, CharacterSet, Procedure, Trigger, Function
47+
from .schema import ObjectType, CharacterSet, Procedure, Trigger, Function
4848

4949
FLAG_NOT_SET = 0
5050
FLAG_SET = 1
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
0