$11 GRAYBYTE WORDPRESS FILE MANAGER $23

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib/python3.4/site-packages/pip/commands/

HOME
Current File : /opt/alt/python34/lib/python3.4/site-packages/pip/commands//bundle.py
import textwrap
from pip.locations import build_prefix, src_prefix
from pip.util import display_path, backup_dir
from pip.log import logger
from pip.exceptions import InstallationError
from pip.commands.install import InstallCommand


class BundleCommand(InstallCommand):
    """Create pybundles (archives containing multiple packages)."""
    name = 'bundle'
    usage = """
      %prog [options] <bundle name>.pybundle <package>..."""
    summary = 'DEPRECATED. Create pybundles.'
    bundle = True

    def __init__(self, *args, **kw):
        super(BundleCommand, self).__init__(*args, **kw)
        # bundle uses different default source and build dirs
        build_opt = self.parser.get_option("--build")
        build_opt.default = backup_dir(build_prefix, '-bundle')
        src_opt = self.parser.get_option("--src")
        src_opt.default = backup_dir(src_prefix, '-bundle')
        self.parser.set_defaults(**{
                src_opt.dest: src_opt.default,
                build_opt.dest: build_opt.default,
                })

    def run(self, options, args):

        logger.deprecated('1.6', "DEPRECATION: 'pip bundle' and support for installing from *.pybundle files is deprecated. "
                    "See https://github.com/pypa/pip/pull/1046")

        if not args:
            raise InstallationError('You must give a bundle filename')
        # We have to get everything when creating a bundle:
        options.ignore_installed = True
        logger.notify('Putting temporary build files in %s and source/develop files in %s'
                      % (display_path(options.build_dir), display_path(options.src_dir)))
        self.bundle_filename = args.pop(0)
        requirement_set = super(BundleCommand, self).run(options, args)
        return requirement_set


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.37 PM
root / linksafe
0755
__init__.py
2.184 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
bundle.py
1.745 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
completion.py
1.795 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
freeze.py
4.555 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
help.py
0.905 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
install.py
13.457 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
list.py
6.654 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
search.py
4.625 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
show.py
2.702 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
uninstall.py
2.151 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
unzip.py
0.181 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
wheel.py
7.533 KB
13 Nov 2023 9.20 PM
root / linksafe
0644
zip.py
14.474 KB
13 Nov 2023 9.20 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF