Skip to content

Commit b1f0146

Browse files
committed
deprecate pip bundle and support for installing pybundle files
1 parent fe2a254 commit b1f0146

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Changelog
1919
* If an already-downloaded or cached file has a bad hash, re-download it rather
2020
than erroring out. (Issue #963).
2121

22+
* 'pip bundle' and support for installing from pybundle files is now considered
23+
deprecated and will be removed in pip v1.5.
24+
2225
* Fixed a number of issues (#413, #709, #634, #602, and #939) related to cleaning up and
2326
not reusing build directories. (Pull #865, #948)
2427

pip/commands/bundle.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import textwrap
12
from pip.locations import build_prefix, src_prefix
23
from pip.util import display_path, backup_dir
34
from pip.log import logger
@@ -26,6 +27,21 @@ def __init__(self, *args, **kw):
2627
})
2728

2829
def run(self, options, args):
30+
31+
deprecation = textwrap.dedent("""
32+
33+
###############################################
34+
## ##
35+
## Due to lack of interest and maintenance, ##
36+
## 'pip bundle' and support for installing ##
37+
## from *.pybundle files is now deprecated, ##
38+
## and will be removed in pip v1.5. ##
39+
## ##
40+
###############################################
41+
42+
""")
43+
logger.notify(deprecation)
44+
2945
if not args:
3046
raise InstallationError('You must give a bundle filename')
3147
# We have to get everything when creating a bundle:

0 commit comments

Comments
 (0)