Changed module name from my_auth to myauth
Changed encryption algorithm to argon2 Added unit tests
This commit is contained in:
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "myauth"
|
||||
version = "0.2.0" # Start with an initial version
|
||||
version = "0.5.0"
|
||||
description = "A reusable, modular authentication system for FastAPI applications with pluggable database backends."
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
@@ -38,8 +38,9 @@ dependencies = [
|
||||
"fastapi",
|
||||
"pydantic",
|
||||
"pydantic-settings",
|
||||
"pydantic[email]",
|
||||
"python-jose[cryptography]",
|
||||
"passlib[bcrypt]",
|
||||
"passlib[argon2]",
|
||||
"python-multipart"
|
||||
]
|
||||
|
||||
@@ -78,6 +79,9 @@ dev = [
|
||||
# Setuptools configuration
|
||||
# This section tells the build system where to find your package code
|
||||
# -------------------------------------------------------------------
|
||||
[tool.setuptools]
|
||||
package-dir = {"" = "src"}
|
||||
packages = ["my_auth"]
|
||||
#[tool.setuptools]
|
||||
#package-dir = {"myauth" = "src"}
|
||||
#packages = ["my_auth"]
|
||||
|
||||
[tool.setuptools.package-dir]
|
||||
myauth = "src/myauth"
|
||||
Reference in New Issue
Block a user