Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
23 lines
616 B
Diff
23 lines
616 B
Diff
From b3980cf4c8766815e4c13ee1695cebfbf473a2e6 Mon Sep 17 00:00:00 2001
|
|
From: Pavel Sobolev <contact@paveloom.dev>
|
|
Date: Sun, 14 Jul 2024 11:30:11 +0300
|
|
Subject: [PATCH] Import `setuptools` before importing `distutils`.
|
|
|
|
---
|
|
gdist/__init__.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/gdist/__init__.py b/gdist/__init__.py
|
|
index 71814af49..a54aac653 100644
|
|
--- a/gdist/__init__.py
|
|
+++ b/gdist/__init__.py
|
|
@@ -31,6 +31,7 @@ Also supports setuptools but needs to be imported after setuptools
|
|
(which does some monkey patching)
|
|
"""
|
|
|
|
+import setuptools
|
|
import sys
|
|
|
|
from distutils.core import setup
|
|
--
|
|
2.45.2
|