Skip to content

Commit f5995ad

Browse files
author
IndominusByte
committed
Bump version: 0.2.0 -> 0.3.0
1 parent 387baf4 commit f5995ad

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

fastapi_jwt_auth/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
from .auth_jwt import AuthJWT
2+
3+
__version__ = "0.3.0"

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
import setuptools
1+
import re, setuptools
2+
3+
with open("fastapi_jwt_auth/__init__.py") as f:
4+
version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M).group(1)
25

36
with open("README.md", "r") as fh:
47
long_description = fh.read()
58

69
setuptools.setup(
710
name="fastapi-jwt-auth",
8-
version="0.2.0",
11+
version=version,
912
author="Nyoman Pradipta Dewantara",
1013
author_email="nyomanpradipta120@gmail.com",
1114
description="FastAPI extension that provides JWT Auth support",

0 commit comments

Comments
 (0)