diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-01-14 13:37:05 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-01-14 13:37:05 -0500 |
commit | b323f3bd4dee5fc9a52f3e52ff88868fde138c9d (patch) | |
tree | 4e9ea6aba0be6fbefb561c5e3bf90d2da95fc08c | |
parent | 9ae55eea1a70044e482190a46dae3aff568ad9d1 (diff) | |
download | wheel-b323f3bd4dee5fc9a52f3e52ff88868fde138c9d.tar.gz |
Resave with excess whitespace removed
-rw-r--r-- | wheel/tool/__init__.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/wheel/tool/__init__.py b/wheel/tool/__init__.py index a997d1f..6f4abd7 100644 --- a/wheel/tool/__init__.py +++ b/wheel/tool/__init__.py @@ -10,7 +10,7 @@ import wheel.paths from glob import iglob from .. import signatures -from ..util import (urlsafe_b64decode, urlsafe_b64encode, native, binary, +from ..util import (urlsafe_b64decode, urlsafe_b64encode, native, binary, matches_requirement) from ..install import WheelFile @@ -94,9 +94,9 @@ def sign(wheelfile, replace=False, get_keyring=get_keyring): def unsign(wheelfile): """ Remove RECORD.jws from a wheel by truncating the zip file. - - RECORD.jws must be at the end of the archive. The zip file must be an - ordinary archive, with the compressed files and the directory in the same + + RECORD.jws must be at the end of the archive. The zip file must be an + ordinary archive, with the compressed files and the directory in the same order, and without any non-zip content after the truncation point. """ import wheel.install @@ -109,8 +109,8 @@ def unsign(wheelfile): def verify(wheelfile): """Verify a wheel. - - The signature will be verified for internal consistency ONLY and printed. + + The signature will be verified for internal consistency ONLY and printed. Wheel's own unpack/install commands verify the manifest against the signature and file contents. """ @@ -142,7 +142,7 @@ def install(requirements, requirements_file=None, wheel_dirs=None, force=False, list_files=False, dry_run=False): """Install wheels. - + :param requirements: A list of requirements or wheel files to install. :param requirements_file: A file containing requirements to install. :param wheel_dirs: A list of directories to search for wheels. @@ -243,7 +243,7 @@ def install_scripts(distributions): def convert(installers, dest_dir, verbose): require_pkgresources('wheel convert') - + # Only support wheel convert if pkg_resources is present from ..wininst2wheel import bdist_wininst2wheel from ..egg2wheel import egg2wheel @@ -318,7 +318,7 @@ def parser(): "but don't actually install anything.") install_parser.set_defaults(func=install_f) - def install_scripts_f(args): + def install_scripts_f(args): install_scripts(args.distributions) install_scripts_parser = s.add_parser('install-scripts', help='Install console_scripts') install_scripts_parser.add_argument('distributions', nargs='*', |