]> git.phdru.name Git - xsetbg.git/commitdiff
Build: For Python 3.13 SQLObject requires unreleased FormEncode master
authorOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2024 15:54:26 +0000 (18:54 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2024 15:54:26 +0000 (18:54 +0300)
Install SQLObject and FormEncode from GitHub.

setup.py

index 8ec3e4cdac355509b48a2b8d24245b7eb3b29c2f..1ed3e656c1bb4ee31e06228508e164922f81a4b1 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,10 @@ setup(
     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
     install_requires=[
         'SQLObject>=2.2.1; python_version=="2.7"',
-        'SQLObject>=3.0.0; python_version>="3.4"',
+        'SQLObject>=3.0.0; python_version>="3.4" and python_version<="3.12"',
+        "SQLObject @ "
+        "git+https://github.com/sqlobject/sqlobject.git#egg=sqlobject"
+        " ; python_version >= '3.13'",
         'm_lib.defenc>=1.1',
     ],
 )