Updated README.md
This commit is contained in:
83
pyproject.toml
Normal file
83
pyproject.toml
Normal file
@@ -0,0 +1,83 @@
|
||||
# File: pyproject.toml
|
||||
|
||||
[build-system]
|
||||
# Define the build system requirements
|
||||
requires = ["setuptools>=80.9", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "myauth"
|
||||
version = "0.1.0" # Start with an initial version
|
||||
description = "A reusable, modular authentication system for FastAPI applications with pluggable database backends."
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "Kodjo Sossouvi", email = "kodjo.sossouvi@gmail.com" },
|
||||
]
|
||||
maintainers = [
|
||||
{ name = "Kodjo Sossouvi", email = "kodjo.sossouvi@gmail.com" }
|
||||
]
|
||||
license = "MIT"
|
||||
requires-python = ">=3.8"
|
||||
classifiers = [
|
||||
"Operating System :: OS Independent",
|
||||
"Framework :: FastAPI",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Auth",
|
||||
]
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# Core dependencies from your README
|
||||
# Note: 'requirements.txt' is for development, this is for the package
|
||||
# -------------------------------------------------------------------
|
||||
dependencies = [
|
||||
"fastapi",
|
||||
"pydantic",
|
||||
"pydantic-settings",
|
||||
"python-jose[cryptography]",
|
||||
"passlib[bcrypt]",
|
||||
"python-multipart"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
# Optional: Link to your internal repository or documentation
|
||||
Homepage = "https://gitea.sheerka.synology.me/kodjo/MyAuth"
|
||||
Documentation = "https://gitea.sheerka.synology.me/kodjo/MyAuth#readme"
|
||||
Repository = "https://gitea.sheerka.synology.me/kodjo/MyAuth"
|
||||
Issues = "https://gitea.sheerka.synology.me/kodjo/MyAuth/issues"
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# Optional dependencies ("extras")
|
||||
# This allows users to install only what they need, e.g.:
|
||||
# pip install myauth[mongodb,email]
|
||||
# -------------------------------------------------------------------
|
||||
[project.optional-dependencies]
|
||||
mongodb = [
|
||||
"pymongo"
|
||||
]
|
||||
postgresql = [
|
||||
"psycopg2-binary"
|
||||
]
|
||||
email = [
|
||||
"secure-smtplib"
|
||||
]
|
||||
# For development and testing (from your requirements.txt)
|
||||
dev = [
|
||||
"pytest",
|
||||
"httpx",
|
||||
"anyio",
|
||||
"email-validator",
|
||||
"python-dotenv"
|
||||
]
|
||||
|
||||
# -------------------------------------------------------------------
|
||||
# Setuptools configuration
|
||||
# This section tells the build system where to find your package code
|
||||
# -------------------------------------------------------------------
|
||||
[tool.setuptools]
|
||||
package-dir = {"" = "src"}
|
||||
packages = ["my_auth"]
|
||||
Reference in New Issue
Block a user