finally working packaging

This commit is contained in:
Micha Albert 2024-08-15 19:24:05 +00:00
parent e669a755ec
commit f57c38250a
6 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ from slack_bolt.async_app import AsyncAck, AsyncApp
from social_core.backends.slack import SlackOAuth2 from social_core.backends.slack import SlackOAuth2
import uvicorn import uvicorn
load_dotenv() load_dotenv(dotenv_path="./.env")
active_stream: Dict[str, str | bool] = {} active_stream: Dict[str, str | bool] = {}
active_streams: List[Dict[str, str | bool]] = [] active_streams: List[Dict[str, str | bool]] = []

View file

@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[project] [project]
name = "backend" name = "onboard_live_backend"
version = "0.0.1" version = "0.0.1"
authors = [{ name = "Micha Albert", email = "micha@2231puppy.tech" }] authors = [{ name = "Micha Albert", email = "micha@2231puppy.tech" }]
description = "Backend for OnBoard Live, A Hack Club YSWS grant program" description = "Backend for OnBoard Live, A Hack Club YSWS grant program"
@ -90,7 +90,7 @@ dependencies = [
Homepage = "https://github.com/MichaByte/OnBoard-Live" Homepage = "https://github.com/MichaByte/OnBoard-Live"
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["backend"] packages = ["onboard_live_backend"]
[project.scripts] [project.scripts]
start = "main:main" onboard-live-backend-start = "onboard_live_backend.main:main"