diff --git a/caricari/private.py b/caricari/private.py index 84af7de..e59c8e4 100644 --- a/caricari/private.py +++ b/caricari/private.py @@ -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() diff --git a/caricari/public.py b/caricari/public.py index 78c232f..e851bdf 100644 --- a/caricari/public.py +++ b/caricari/public.py @@ -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() diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b349604 --- /dev/null +++ b/pyproject.toml @@ -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"] +