File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22#
3- import sys , os
3+ import sys , os , io , re
44# flask-jwt-extended documentation build configuration file, created by
55# sphinx-quickstart on Thu Oct 6 13:07:36 2016.
66#
6464# |version| and |release|, also used in various other places throughout the
6565# built documents.
6666#
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
7171
7272# The language for content autogenerated by Sphinx. Refer to documentation
7373# for a list of supported languages.
Original file line number Diff line number Diff line change 99 get_jti , decode_token , get_csrf_token
1010)
1111
12- __version__ = '3.7.0 '
12+ __version__ = '3.7.1 '
You can’t perform that action at this time.
0 commit comments