diff options
author | agroszer <none@none> | 2011-04-15 10:49:49 +0200 |
---|---|---|
committer | agroszer <none@none> | 2011-04-15 10:49:49 +0200 |
commit | 1509fe5874ad7155482d71b1b922bfdeb522ab58 (patch) | |
tree | 54dfccd2bfd87f6e66088849be9eae5edc242998 /setuptools/command/easy_install.py | |
parent | 119e1f717238083a18d973f988114789c5b3e41b (diff) | |
download | external_python_setuptools-1509fe5874ad7155482d71b1b922bfdeb522ab58.tar.gz external_python_setuptools-1509fe5874ad7155482d71b1b922bfdeb522ab58.tar.bz2 external_python_setuptools-1509fe5874ad7155482d71b1b922bfdeb522ab58.zip |
Fixing #200
--HG--
branch : distribute
extra : rebase_source : 4446e76a0bcf2e968abce2020569aecbaab1df01
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 20355341..fb0f9979 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -15,6 +15,7 @@ from glob import glob from setuptools import Command, _dont_write_bytecode from setuptools.sandbox import run_setup from distutils import log, dir_util +from distutils.util import get_platform from distutils.util import convert_path, subst_vars from distutils.sysconfig import get_python_lib, get_config_vars from distutils.errors import DistutilsArgError, DistutilsOptionError, \ @@ -854,7 +855,7 @@ Please make the appropriate changes for your system and try again. # Create a dummy distribution object until we build the real distro dist = Distribution(None, project_name=cfg.get('metadata','name'), - version=cfg.get('metadata','version'), platform="win32" + version=cfg.get('metadata','version'), platform=get_platform() ) # Convert the .exe to an unpacked egg |