| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from coalib.bears.requirements.PackageRequirement import PackageRequirement |
||
| 11 | def __init__(self, package, version=""): |
||
| 12 | """ |
||
| 13 | Constructs a new ``DistributionRequirement``, using the |
||
| 14 | ``PackageRequirement`` constructor. |
||
| 15 | |||
| 16 | :param package: A string with the name of the package to be installed. |
||
| 17 | :param version: A version string. Leave empty to specify latest version. |
||
| 18 | """ |
||
| 19 | PackageRequirement.__init__(self, manager, package, version) |
||
|
|
|||
| 20 | self.manager = "" |
||
| 21 | |||
| 44 |