Commits

Anonymous committed fc4a246

Always make build_dir and src_dir absolute (fixes failing download with relative src folder test).

  • Participants
  • Parent commits 3743c23

Comments (0)

Files changed (1)

File pip/commands/install.py

         if options.download_dir:
             options.no_install = True
             options.ignore_installed = True
-        else:
-            options.build_dir = os.path.abspath(options.build_dir)
-            options.src_dir = os.path.abspath(options.src_dir)
+        options.build_dir = os.path.abspath(options.build_dir)
+        options.src_dir = os.path.abspath(options.src_dir)
         install_options = options.install_options or []
         index_urls = [options.index_url] + options.extra_index_urls
         if options.no_index: