proper packaging

This commit is contained in:
boyska 2024-12-02 17:38:57 +01:00
parent 7466814824
commit 6a3638438a
3 changed files with 13 additions and 4 deletions

View file

@ -18,8 +18,8 @@ from fastapi.responses import RedirectResponse
from fastapi.templating import Jinja2Templates
from pydantic import BaseModel
from .httpcommon import ProxyInfo, get_config
from . import database
from caricari.httpcommon import ProxyInfo, get_config
from caricari import database
CONFIG = get_config()

View file

@ -16,8 +16,8 @@ from fastapi.responses import RedirectResponse, FileResponse
from fastapi.templating import Jinja2Templates
from pydantic import BaseModel
from .httpcommon import ProxyInfo, get_config
from . import database
from caricari.httpcommon import ProxyInfo, get_config
from caricari import database
CONFIG = get_config()

9
pyproject.toml Normal file
View file

@ -0,0 +1,9 @@
[project]
name = "caricari"
version = "0.1.0"
description = "A meta-uploader"
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]