Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 23 lines 616 B view raw
1From b3980cf4c8766815e4c13ee1695cebfbf473a2e6 Mon Sep 17 00:00:00 2001 2From: Pavel Sobolev <contact@paveloom.dev> 3Date: Sun, 14 Jul 2024 11:30:11 +0300 4Subject: [PATCH] Import `setuptools` before importing `distutils`. 5 6--- 7 gdist/__init__.py | 1 + 8 1 file changed, 1 insertion(+) 9 10diff --git a/gdist/__init__.py b/gdist/__init__.py 11index 71814af49..a54aac653 100644 12--- a/gdist/__init__.py 13+++ b/gdist/__init__.py 14@@ -31,6 +31,7 @@ Also supports setuptools but needs to be imported after setuptools 15 (which does some monkey patching) 16 """ 17 18+import setuptools 19 import sys 20 21 from distutils.core import setup 22-- 232.45.2