Skip to content

Commit 6be5614

Browse files
author
pedro
committed
version from package resources
1 parent 76615d5 commit 6be5614

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tq/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,12 @@
1717
import json
1818
import codecs
1919
import io
20+
import pkg_resources
2021

21-
VERSION = "0.2.1"
22+
23+
24+
25+
VERSION = pkg_resources.get_distribution('pip').version
2226

2327

2428
def main(argv=None):

0 commit comments

Comments
 (0)