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 387baf4 commit f5995adCopy full SHA for f5995ad
fastapi_jwt_auth/__init__.py
@@ -1 +1,3 @@
1
from .auth_jwt import AuthJWT
2
+
3
+__version__ = "0.3.0"
setup.py
@@ -1,11 +1,14 @@
-import setuptools
+import re, setuptools
+with open("fastapi_jwt_auth/__init__.py") as f:
4
+ version = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M).group(1)
5
6
with open("README.md", "r") as fh:
7
long_description = fh.read()
8
9
setuptools.setup(
10
name="fastapi-jwt-auth",
- version="0.2.0",
11
+ version=version,
12
author="Nyoman Pradipta Dewantara",
13
author_email="nyomanpradipta120@gmail.com",
14
description="FastAPI extension that provides JWT Auth support",
0 commit comments