1452 @param version package version (defaults to None) |
1452 @param version package version (defaults to None) |
1453 @type str (optional) |
1453 @type str (optional) |
1454 @param mpy flag indicating to install as '.mpy' file (defaults to True) |
1454 @param mpy flag indicating to install as '.mpy' file (defaults to True) |
1455 @type bool (optional) |
1455 @type bool (optional) |
1456 @return tuple containing the command output and errors |
1456 @return tuple containing the command output and errors |
1457 @return tuple of (str, str) |
1457 @rtype tuple of (str, str) |
1458 """ |
1458 """ |
1459 parameterStr = repr(package) |
1459 parameterStr = repr(package) |
1460 if index: |
1460 if index: |
1461 parameterStr += ", index={0}".format(repr(index)) |
1461 parameterStr += ", index={0}".format(repr(index)) |
1462 if target: |
1462 if target: |