Add notes for future cleanups

This commit is contained in:
Pradyun Gedam 2018-09-19 16:30:33 +05:30
parent 9781e1381e
commit 41f87fba35
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
1 changed files with 9 additions and 1 deletions

View File

@ -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',