]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
working!
authorBob Halley <halley@dnspython.org>
Wed, 3 Sep 2025 19:56:53 +0000 (12:56 -0700)
committerBob Halley <halley@dnspython.org>
Wed, 3 Sep 2025 19:56:53 +0000 (12:56 -0700)
util/make-test-project

index 87fe84d2dd6f9c1190fcc6d9768b5276dda6f66b..2a02cbedfdab73100f0e4bccb03843463f7380b5 100644 (file)
@@ -1,12 +1,15 @@
 #!/usr/bin/env python3
 
+# since someone else is using the "dnspython" name on test.pypi.org, we rename
+# project to dnspython_test for testing purposes.
+
 import os
 
-PROJECT = 'pyproject.toml'
-NEW_PROJECT = 'pyproject.toml-new'
+PROJECT = "pyproject.toml"
+NEW_PROJECT = "pyproject.toml-new"
 
-with open(PROJECT, 'rt') as f:
-    with open(NEW_PROJECT, 'wt') as nf:
+with open(PROJECT, "rt") as f:
+    with open(NEW_PROJECT, "wt") as nf:
         for l in f.readlines():
             l = l.rstrip()
             if l == 'name = "dnspython"':