18 lines
750 B
Plaintext
18 lines
750 B
Plaintext
$NetBSD: patch-av,v 1.2 2014/11/02 13:31:11 spz Exp $
|
|
|
|
Add a knob (enviroment variable) for disabling installation of egg metadata
|
|
in extensions until we have infrastructure in place for dealing w/ it.
|
|
|
|
--- Lib/distutils/command/install.py.orig 2014-06-30 02:05:25.000000000 +0000
|
|
+++ Lib/distutils/command/install.py
|
|
@@ -666,7 +666,8 @@ 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.has_key('PKGSRC_PYTHON_NO_EGG'):
|
|
+ sub_commands += [('install_egg_info', lambda self:True),]
|
|
|
|
# class install
|