Files
2026-10-04 04:07:15 +00:00

39 lines
1.2 KiB
TOML

--- pyproject.toml.orig 2026-09-18 11:32:48 UTC
+++ pyproject.toml
@@ -5,7 +5,7 @@ requires = [
# `[tool.setuptools.ext-modules]` in `pyproject.toml` is still
# *experimental* and likely to change in future releases
#
- "setuptools == 83.0.0",
+ "setuptools >= 61",
"wheel >= 0.37",
"tomli >= 2.0.1; python_version < '3.11'",
]
@@ -25,8 +25,7 @@ version = "3.3.6"
name = "psycopg-c"
description = "PostgreSQL database adapter for Python -- C optimisation distribution"
version = "3.3.6"
-license = "LGPL-3.0-only"
-license-files = ["LICENSE.txt"]
+license = {text = "LGPL-3.0-only"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
@@ -90,16 +89,6 @@ psycopg_binary = [
"py.typed",
"*.pyi",
]
-
-# Note: these ext modules lack details such as libraries and directories.
-# 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"]
-
-[[tool.setuptools.ext-modules]]
-name = "psycopg_c.pq"
-sources = ["psycopg_c/pq.c"]
[tool.setuptools.cmdclass]
build_ext = "psycopg_build_ext.psycopg_build_ext"