mirror of https://github.com/pypa/pip
WheelBuilder.__init__ default args: () => None
This commit is contained in:
parent
3054cbc0f7
commit
962d14d8f3
|
@ -528,13 +528,13 @@ class Wheel(object):
|
|||
class WheelBuilder(object):
|
||||
"""Build wheels from a RequirementSet."""
|
||||
|
||||
def __init__(self, requirement_set, finder, wheel_dir, build_options=(),
|
||||
global_options=()):
|
||||
def __init__(self, requirement_set, finder, wheel_dir, build_options=None,
|
||||
global_options=None):
|
||||
self.requirement_set = requirement_set
|
||||
self.finder = finder
|
||||
self.wheel_dir = normalize_path(wheel_dir)
|
||||
self.build_options = build_options
|
||||
self.global_options = global_options
|
||||
self.build_options = build_options or []
|
||||
self.global_options = global_options or []
|
||||
|
||||
def _build_one(self, req):
|
||||
"""Build one wheel."""
|
||||
|
|
Loading…
Reference in New Issue