mirror of https://github.com/pypa/pip
Add notes for future cleanups
This commit is contained in:
parent
9781e1381e
commit
41f87fba35
|
@ -237,6 +237,10 @@ def move_wheel_files(name, req, wheeldir, user=False, home=None, root=None,
|
|||
pycompile=True, scheme=None, isolated=False, prefix=None,
|
||||
warn_script_location=True):
|
||||
"""Install a wheel"""
|
||||
# TODO: Investigate and break this up.
|
||||
# TODO: Look into moving this into a dedicated class for representing an
|
||||
# installation.
|
||||
|
||||
if not scheme:
|
||||
scheme = distutils_scheme(
|
||||
name, user=user, home=home, root=root, isolated=isolated,
|
||||
|
@ -596,7 +600,8 @@ def check_compatibility(version, name):
|
|||
class Wheel(object):
|
||||
"""A wheel file"""
|
||||
|
||||
# TODO: maybe move the install code into this class
|
||||
# TODO: Maybe move the class into the models sub-package
|
||||
# TODO: Maybe move the install code into this class
|
||||
|
||||
wheel_file_re = re.compile(
|
||||
r"""^(?P<namever>(?P<name>.+?)-(?P<ver>.*?))
|
||||
|
@ -821,6 +826,9 @@ class WheelBuilder(object):
|
|||
if not buildset:
|
||||
return []
|
||||
|
||||
# TODO by @pradyunsg
|
||||
# Should break up this method into 2 separate methods.
|
||||
|
||||
# Build the wheels.
|
||||
logger.info(
|
||||
'Building wheels for collected packages: %s',
|
||||
|
|
Loading…
Reference in New Issue