aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 0b24c8e3..fb953dbb 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1870,6 +1870,8 @@ class CommandSpec(list):
"""
if isinstance(param, cls):
return param
+ if isinstance(param, list):
+ return cls(param)
if param is None:
return cls.from_environment()
# otherwise, assume it's a string.