Skip to content

Commit

Permalink
Use pyproject.toml instead of setup.py (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Apr 29, 2023
1 parent d67f5ab commit 9923fc2
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 58 deletions.
56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=61.2",
]

[project]
name = "DBUtils"
version = "3.1.0b1"
description = "Database connections for multi-threaded environments."
license = {text = "MIT License"}
authors = [{name = "Christoph Zwerschke", email = "cito@online.de"}]
requires-python = ">3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.optional-dependencies]
pg = [
"PyGreSQL>=5",
]
testing = [
"pytest>=7",
"ruff",
]

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://webwareforpython.github.io/DBUtils/"
Download = "https://pypi.org/project/DBUtils/"
Documentation = "https://webwareforpython.github.io/DBUtils/main.html"
Changelog = "https://webwareforpython.github.io/DBUtils/changelog.html"
"Issue Tracker" = "https://github.com/WebwareForPython/DBUtils/issues"
"Source Code" = "https://github.com/WebwareForPython/DBUtils"

[tool.setuptools]
packages = ["dbutils"]
platforms = ["any"]
include-package-data = false

[tool.ruff]
select = [
"A", # flake8-builtins
Expand Down
58 changes: 0 additions & 58 deletions setup.py

This file was deleted.

0 comments on commit 9923fc2

Please sign in to comment.