We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1ca11 commit a5460e8Copy full SHA for a5460e8
MANIFEST.in
@@ -1,3 +1,4 @@
1
+include versionate.py
2
include pypop/version
3
recursive-include pypop/examples *
4
recursive-include pypop/cfgs *
versionate.py
@@ -41,6 +41,15 @@ def versionate():
41
42
ver_string = get_git_verstring()
43
44
+ if ver_string == _k_unknown_ver:
45
+ try:
46
+ with open('pypop/version', 'rt') as fh:
47
+ ver_string = fh.readlines()[0].strip()
48
+ except:
49
+ pass
50
+ finally:
51
+ return ver_string
52
+
53
with open('pypop/version', 'wt') as fh:
54
fh.write(ver_string)
55
0 commit comments