proper packaging
This commit is contained in:
parent
7466814824
commit
6a3638438a
3 changed files with 13 additions and 4 deletions
|
@ -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()
|
||||
|
|
|
@ -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
9
pyproject.toml
Normal 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"]
|
||||
|
Loading…
Reference in a new issue