Commit 12616142 authored by Jason R. Coombs's avatar Jason R. Coombs

Calculate scheme name directly.

parent 275336b8
......@@ -244,10 +244,8 @@ class easy_install(Command):
raise DistutilsPlatformError(
"User base directory is not specified")
self.install_base = self.install_platbase = self.install_userbase
if os.name == 'posix':
self.select_scheme("unix_user")
else:
self.select_scheme(os.name + "_user")
scheme_name = os.name.replace('posix', 'unix') + '_user'
self.select_scheme(scheme_name)
self.expand_basedirs()
self.expand_dirs()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment