| 1 |
Author: Andreas Tille <[email protected]> |
| 2 |
Last-Update: Sat, 07 Dec 2019 21:44:15 +0100 |
| 3 |
Description: For some reason pkg_resources.get_distribution('pbcommand') fails |
| 4 |
This patch makes sure a valid version will be set initially |
| 5 |
. |
| 6 |
FIXME: Needs to be adapted fro new upstream versions |
| 7 |
|
| 8 |
--- a/pbcommand/__init__.py |
| 9 |
+++ b/pbcommand/__init__.py |
| 10 |
@@ -4,7 +4,7 @@ import sys |
| 11 |
try: |
| 12 |
__VERSION__ = pkg_resources.get_distribution('pbcommand').version |
| 13 |
except Exception: |
| 14 |
|
| 15 |
+ __VERSION__ = '2.4.0' |
| 16 |
|
| 17 |
VERSION = (int(x) for x in __VERSION__.split('.')) |
| 18 |
|