Skip to content
9 changes: 2 additions & 7 deletions pythonforandroid/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def __repr__(self):
return str(self)

@classmethod
def get_distribution(cls, ctx, name=None, recipes=[], allow_download=True,
def get_distribution(cls, ctx, name=None, recipes=[],
force_build=False,
allow_build=True, extra_dist_dirs=[],
extra_dist_dirs=[],
require_perfect_match=False):
'''Takes information about the distribution, and decides what kind of
distribution it will be.
Expand All @@ -59,11 +59,6 @@ def get_distribution(cls, ctx, name=None, recipes=[], allow_download=True,
exists, it will be used.
recipes : list
The recipes that the distribution must contain.
allow_download : bool
Whether binary dists may be downloaded.
allow_build : bool
Whether the distribution may be built from scratch if necessary.
This is always False on e.g. Windows.
force_download: bool
If True, only downloaded dists are considered.
force_build : bool
Expand Down
Loading