[project]
name = "psycopg"
description = "PostgreSQL database adapter for Python"
+
+# STOP AND READ! if you change:
version = "3.3.0.dev1"
+# also change:
+# - `docs/news.rst` to declare this as the current version or an unreleased one;
+# - `psycopg_c/pyproject.toml` to the same version;
+# - the `c ` and `binary` "optional-dependencies" below to the same version.
+#
+# NOTE: you can use `tools/bump_version.py` to maintain versions.
+
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
include-package-data = true
[tool.setuptools.package-data]
+# NOTE: do not include .pyx files: they shouldn't be in the sdist
+# package, so that build is only performed from the .c files (which are
+# distributed instead).
psycopg_c = [
"py.typed",
"*.pyi",
]
# Note: these ext modules lack details such as libraries and directories.
-# They are added by the psycopg_build_ext build module.
+# They are added by the 'psycopg_build_ext' build module.
[[tool.setuptools.ext-modules]]
name = "psycopg_c._psycopg"
sources = ["psycopg_c/_psycopg.c", "psycopg_c/types/numutils.c"]
[project]
name = "psycopg-pool"
description = "Connection Pool for Psycopg"
+
+# STOP AND READ! if you change:
version = "3.3.0.dev1"
+# also change:
+# - `docs/news_pool.rst` to declare this version current or unreleased
+
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",