Commit 8353170
committed
util: Use tasklib.__version__ to determine module version
Importing pkg_resources module is notoriously slow, see [1,2]. Tasklib
module now provides __version__ attribute for an easy method of version
checking.
[1] pypa/setuptools#510
[2] pypa/setuptools#9261 parent 5032d0d commit 8353170
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
374 | | - | |
375 | | - | |
| 375 | + | |
| 376 | + | |
376 | 377 | | |
377 | 378 | | |
378 | 379 | | |
| |||
0 commit comments