Annotation of pkgsrc/lang/python36/patches/patch-Lib_distutils_command_install.py, revision 1.2
1.2 ! adam 1: $NetBSD: patch-Lib_distutils_command_install.py,v 1.1 2017/01/01 14:34:27 adam Exp $
! 2:
! 3: Conditionally install Python eggs.
1.1 adam 4:
5: --- Lib/distutils/command/install.py.orig 2016-12-23 02:21:19.000000000 +0000
6: +++ Lib/distutils/command/install.py
7: @@ -652,5 +652,6 @@ class install(Command):
8: ('install_headers', has_headers),
9: ('install_scripts', has_scripts),
10: ('install_data', has_data),
11: - ('install_egg_info', lambda self:True),
12: ]
13: + if not os.environ.get('PKGSRC_PYTHON_NO_EGG'):
14: + sub_commands += [('install_egg_info', lambda self:True),]
CVSweb <webmaster@jp.NetBSD.org>