Skip to content

Commit 9923fc2

Browse files
authored
Use pyproject.toml instead of setup.py (#48)
1 parent d67f5ab commit 9923fc2

File tree

2 files changed

+56
-58
lines changed

2 files changed

+56
-58
lines changed

pyproject.toml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
[build-system]
2+
build-backend = "setuptools.build_meta"
3+
requires = [
4+
"setuptools>=61.2",
5+
]
6+
7+
[project]
8+
name = "DBUtils"
9+
version = "3.1.0b1"
10+
description = "Database connections for multi-threaded environments."
11+
license = {text = "MIT License"}
12+
authors = [{name = "Christoph Zwerschke", email = "[email protected]"}]
13+
requires-python = ">3.7"
14+
classifiers = [
15+
"Development Status :: 5 - Production/Stable",
16+
"Environment :: Web Environment",
17+
"Intended Audience :: Developers",
18+
"License :: OSI Approved :: MIT License",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Topic :: Database",
28+
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
29+
"Topic :: Software Development :: Libraries :: Python Modules",
30+
]
31+
[project.optional-dependencies]
32+
pg = [
33+
"PyGreSQL>=5",
34+
]
35+
testing = [
36+
"pytest>=7",
37+
"ruff",
38+
]
39+
40+
[project.readme]
41+
file = "README.md"
42+
content-type = "text/markdown"
43+
44+
[project.urls]
45+
Homepage = "https://webwareforpython.github.io/DBUtils/"
46+
Download = "https://pypi.org/project/DBUtils/"
47+
Documentation = "https://webwareforpython.github.io/DBUtils/main.html"
48+
Changelog = "https://webwareforpython.github.io/DBUtils/changelog.html"
49+
"Issue Tracker" = "https://github.com/WebwareForPython/DBUtils/issues"
50+
"Source Code" = "https://github.com/WebwareForPython/DBUtils"
51+
52+
[tool.setuptools]
53+
packages = ["dbutils"]
54+
platforms = ["any"]
55+
include-package-data = false
56+
157
[tool.ruff]
258
select = [
359
"A", # flake8-builtins

setup.py

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

0 commit comments

Comments
 (0)