aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/install.py')
-rw-r--r--setuptools/command/install.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/setuptools/command/install.py b/setuptools/command/install.py
index 1de38aba..a150c435 100644
--- a/setuptools/command/install.py
+++ b/setuptools/command/install.py
@@ -1,4 +1,4 @@
-import setuptools, sys
+import setuptools, sys, glob
from distutils.command.install import install as _install
from distutils.errors import DistutilsArgError
@@ -88,6 +88,10 @@ class install(_install):
self.distribution, args="x", root=self.root, record=self.record,
)
cmd.ensure_finalized() # finalize before bdist_egg munges install cmd
+ cmd.always_copy_from = '.' # make sure local-dir eggs get installed
+
+ # pick up setup-dir .egg files only: no .egg-info
+ cmd.package_index.scan(glob.glob('*.egg'))
self.run_command('bdist_egg')
args = [self.distribution.get_command_obj('bdist_egg').egg_output]
@@ -116,8 +120,4 @@ class install(_install):
-
-
-
-
#