File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
#
3
- import sys , os
3
+ import sys , os , io , re
4
4
# flask-jwt-extended documentation build configuration file, created by
5
5
# sphinx-quickstart on Thu Oct 6 13:07:36 2016.
6
6
#
64
64
# |version| and |release|, also used in various other places throughout the
65
65
# built documents.
66
66
#
67
- # The short X.Y version.
68
- version = u'3.7.0'
69
- # The full version, including alpha/beta/rc tags.
70
- release = u'3.7.0'
67
+ with io . open ( '../flask_jwt_extended/__init__.py' , encoding = 'utf-8' ) as f :
68
+ package_version = re . search ( r"__version__ = '(.+)'" , f . read ()). group ( 1 )
69
+ version = package_version
70
+ release = package_version
71
71
72
72
# The language for content autogenerated by Sphinx. Refer to documentation
73
73
# for a list of supported languages.
Original file line number Diff line number Diff line change 9
9
get_jti , decode_token , get_csrf_token
10
10
)
11
11
12
- __version__ = '3.7.0 '
12
+ __version__ = '3.7.1 '
You can’t perform that action at this time.
0 commit comments