nixos/doh-server: init
[NixPkgs.git] / pkgs / applications / audio / quodlibet / fix-gdist-python-3.12.patch
bloba9dc7b7f669992758907df53ce559c4e07156a1f
1 From b3980cf4c8766815e4c13ee1695cebfbf473a2e6 Mon Sep 17 00:00:00 2001
2 From: Pavel Sobolev <contact@paveloom.dev>
3 Date: Sun, 14 Jul 2024 11:30:11 +0300
4 Subject: [PATCH] Import `setuptools` before importing `distutils`.
6 ---
7 gdist/__init__.py | 1 +
8 1 file changed, 1 insertion(+)
10 diff --git a/gdist/__init__.py b/gdist/__init__.py
11 index 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 """
18 +import setuptools
19 import sys
21 from distutils.core import setup
23 2.45.2