mirror of https://github.com/pypa/pip
Remove redundant src_dir normalization
This commit is contained in:
parent
a046c4f0c3
commit
b6e007c6a8
|
@ -86,7 +86,6 @@ class DownloadCommand(RequirementCommand):
|
|||
|
||||
cmdoptions.check_dist_restriction(options)
|
||||
|
||||
options.src_dir = os.path.abspath(options.src_dir)
|
||||
options.download_dir = normalize_path(options.download_dir)
|
||||
|
||||
ensure_dir(options.download_dir)
|
||||
|
|
|
@ -293,7 +293,6 @@ class InstallCommand(RequirementCommand):
|
|||
|
||||
cmdoptions.check_dist_restriction(options, check_target=True)
|
||||
|
||||
options.src_dir = os.path.abspath(options.src_dir)
|
||||
install_options = options.install_options or []
|
||||
|
||||
options.use_user_site = decide_user_install(
|
||||
|
|
|
@ -149,8 +149,6 @@ class WheelCommand(RequirementCommand):
|
|||
if options.build_dir:
|
||||
options.build_dir = os.path.abspath(options.build_dir)
|
||||
|
||||
options.src_dir = os.path.abspath(options.src_dir)
|
||||
|
||||
session = self.get_default_session(options)
|
||||
|
||||
finder = self._build_package_finder(options, session)
|
||||
|
|
Loading…
Reference in New Issue