initial project setup

This commit is contained in:
2025-12-31 08:36:04 +00:00
parent 67603d82ec
commit 1c0a7a92f5
8 changed files with 40 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
# Python
__pycache__/
*.py[cod]
*.egg
*.egg-info/
dist/
build/
*.env
.env

View File

@@ -0,0 +1 @@
# package initializer

5
genai_gateway/main.py Normal file
View File

@@ -0,0 +1,5 @@
def main():
print("Hello, world!")
if __name__ == "__main__":
main()

3
pyproject.toml Normal file
View File

@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

1
requirements.txt Normal file
View File

@@ -0,0 +1 @@
# Add your project dependencies here

15
setup.py Normal file
View File

@@ -0,0 +1,15 @@
from setuptools import setup, find_packages
setup(
name="genai_gateway",
version="0.1.0",
packages=find_packages(),
install_requires=[
# Add your dependencies here, e.g. "requests"
],
entry_points={
"console_scripts": [
"myproject=myproject.main:main"
]
},
)

0
tests/__init__.py Normal file
View File

6
tests/test_main.py Normal file
View File

@@ -0,0 +1,6 @@
from myproject.main import main
def test_main(capsys):
main()
captured = capsys.readouterr()
assert "Hello, world!" in captured.out