1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"
[project]
name = "pg8000"
authors = [{name = "The Contributors"}]
description = "PostgreSQL interface library"
readme = "README.md"
requires-python = ">=3.9"
keywords= ["postgresql", "dbapi"]
license = {text = "BSD 3-Clause License"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"scramp >= 1.4.5",
'python-dateutil >= 2.8.2',
]
dynamic = ["version"]
[project.urls]
Homepage = "https://codeberg.org/tlocke/pg8000"
[tool.hatch.version]
source = "versioningit"
[tool.setuptools.dynamic]
version = {file = "VERSION"}
[tool.flake8]
application-names = ['pg8000']
ignore = ['E203', 'W503']
max-line-length = 88
exclude = ['.git', '__pycache__', 'build', 'dist', 'venv', '.tox']
application-import-names = ['pg8000']
[tool.tox]
requires = ["tox>=4.19"]
envlist = ["py"]
[tool.tox.env_run_base]
description = "Run test under {base_python}"
passenv = ["PGPORT"]
allowlist_externals = ["rm"]
commands = [
["black", "--check", "."],
["flake8", "."],
["validate-pyproject", "pyproject.toml"],
["python", "-m", "pytest", "-v", "-x", "-W error", "test"],
["rm", "-rf", "dist"],
["python", "-m", "build"],
["twine", "check", "dist/*"],
]
deps = [
"black",
"build",
"pytest",
"pytest-mock",
"pytest-benchmark",
"flake8",
"flake8-alphabetize",
"Flake8-pyproject",
"pytz",
"docutils",
"twine",
"validate-pyproject",
]
|