]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
docs: restore some lost comments in pyproject.toml files
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 26 Dec 2024 16:58:16 +0000 (17:58 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 26 Dec 2024 17:01:22 +0000 (18:01 +0100)
psycopg/pyproject.toml
psycopg_c/pyproject.toml
psycopg_pool/pyproject.toml

index 9550c1a2e260651538061e39c1f715e7e8571a7c..594a3af8c7272442acfe5c68b601cb46483d0226 100644 (file)
@@ -5,7 +5,16 @@ build-backend = "setuptools.build_meta"
 [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",
index aa24b989e67d6eef0135a25ff0a9503b718a8242..da8c48866e64674277446357e1f060631b66d052 100644 (file)
@@ -78,6 +78,9 @@ license-files = ["LICENSE.txt"]
 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",
@@ -91,7 +94,7 @@ psycopg_binary = [
 ]
 
 # 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"]
index a1c83857d8aa6dadab89d08524202e71cd6ef9cf..4a0879e835dff3790035cf85674ee0c9e1a72e81 100644 (file)
@@ -5,7 +5,12 @@ build-backend = "setuptools.build_meta"
 [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",