Skip to content

Commit

Permalink
Add package files
Browse files Browse the repository at this point in the history
  • Loading branch information
slesaad committed Jul 24, 2024
1 parent e6278d8 commit 16e56c0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
23 changes: 23 additions & 0 deletions common/auth/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""Setup veda_auth
"""

from setuptools import find_packages, setup


inst_reqs = [
"cryptography>=42.0.5",
"pyjwt>=2.8.0",
"fastapi",
]

print(find_packages())
setup(
name="vedaAuth",
version="0.0.1",
description="",
python_requires=">=3.7",
packages=['src'],
zip_safe=False,
install_requires=inst_reqs,
include_package_data=True,
)
5 changes: 5 additions & 0 deletions common/auth/src/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'''
...
'''
from src.main import VedaAuth
version="1.0.0"
2 changes: 1 addition & 1 deletion common/auth.py → common/auth/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
logger = logging.getLogger(__name__)


class Auth:
class VedaAuth:
"""Class for handling authentication"""

def __init__(self, settings) -> None:
Expand Down

0 comments on commit 16e56c0

Please sign in to comment.