From e29221e4d1cdcccbfdf6fbfc895f0baf6dd6daec Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Wed, 3 Sep 2025 12:56:53 -0700 Subject: [PATCH] working! --- util/make-test-project | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/util/make-test-project b/util/make-test-project index 87fe84d2..2a02cbed 100644 --- a/util/make-test-project +++ b/util/make-test-project @@ -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"': -- 2.47.3