| Conditions | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from coalib.bears.requirements.PackageRequirement import PackageRequirement |
||
| 32 | def install_command(self): |
||
| 33 | """ |
||
| 34 | Creates the installation command for the instance of the class. |
||
| 35 | |||
| 36 | :param return: A string with the installation command. |
||
| 37 | """ |
||
| 38 | result = "{} install {}".format(self.MANAGER, self.package) |
||
| 39 | if self.version: |
||
| 40 | result += "=={}".format(self.version) |
||
| 41 | return result |
||
| 42 | |||
| 50 |