aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index 0ad18122..204dcdfa 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -269,8 +269,9 @@ class Distribution(_Distribution):
cmd.package_index.to_scan = []
except AttributeError:
from setuptools.command.easy_install import easy_install
- dist = self.__class__({'script_args':['easy_install']})
+ dist = self.__class__()
dist.parse_config_files()
+ dist.parse_command_line()
opts = dist.get_option_dict('easy_install')
keep = (
'find_links', 'site_dirs', 'index_url', 'optimize',