diff options
author | Marcus Smith <qwcode@gmail.com> | 2014-02-16 12:30:49 -0800 |
---|---|---|
committer | Marcus Smith <qwcode@gmail.com> | 2014-02-16 12:30:49 -0800 |
commit | c6356c855f2e33605e21ff0358cf7e841aa0e317 (patch) | |
tree | b9c8bbbb30e978a117c9d83d353d744b075e0f5b | |
parent | 1b71046762f0603800ee43e7ac1aa1e4b2c57072 (diff) | |
download | pip-c6356c855f2e33605e21ff0358cf7e841aa0e317.tar.gz |
deprecate --build and --no-clean
-rw-r--r-- | CHANGES.txt | 3 | ||||
-rw-r--r-- | pip/commands/install.py | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index bc34a84fe..3c8789d20 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Changelog 1.5.3 (unreleased) ------------------ +* **DEPRECATION** ``pip install --build`` and ``pip install --no-clean`` are now + deprecated. See Issue #906 for discussion. + * Fixed #1112. Couldn't download directly from wheel paths/urls, and when wheel downloads did occur using requirement specifiers, dependencies weren't downloaded (PR #1527) diff --git a/pip/commands/install.py b/pip/commands/install.py index f799366d9..f5eaccff5 100644 --- a/pip/commands/install.py +++ b/pip/commands/install.py @@ -187,8 +187,14 @@ class InstallCommand(Command): def run(self, options, args): - if options.no_install or options.no_download: - logger.deprecated('1.7', "DEPRECATION: '--no-install' and '--no-download` are deprecated. See https://github.com/pypa/pip/issues/906.") + if ( + options.no_install or + options.no_download or + options.build_dir or + options.no_clean + ): + logger.deprecated('1.7', 'DEPRECATION: --no-install, --no-download, --build, ' + 'and --no-clean are deprecated. See https://github.com/pypa/pip/issues/906.') if options.download_dir: options.no_install = True |