summaryrefslogtreecommitdiff
path: root/lang/python36/patches/patch-Lib_distutils_command_install.py
blob: fa19a7d2c9ac95eb40ca8f13b5a0de3467da51f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2017/01/01 14:34:27 adam Exp $

--- Lib/distutils/command/install.py.orig	2016-12-23 02:21:19.000000000 +0000
+++ Lib/distutils/command/install.py
@@ -652,5 +652,6 @@ class install(Command):
                     ('install_headers', has_headers),
                     ('install_scripts', has_scripts),
                     ('install_data',    has_data),
-                    ('install_egg_info', lambda self:True),
                    ]
+    if not os.environ.get('PKGSRC_PYTHON_NO_EGG'):
+        sub_commands += [('install_egg_info', lambda self:True),]