Skip to content

Commit f404028

Browse files
committed
refactor: attempt to get scripts working (REFS #24)
while you can run scripts via pythom -m, it will be nice to wrap runnable scripts via poetry, and use the taskfile to run modules inside of the containers the use cases are around being able to initialise models, or other such tasks that require a pythonic interface
1 parent 5b7de32 commit f404028

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
[tool.poetry]
22
name = "labs"
33
version = "0.1.0"
4-
description = ""
5-
authors = ["Dev Mukherjee <[email protected]>"]
4+
description = "A template for building Python based web applications"
5+
authors = [
6+
"Dev Mukherjee <[email protected]>"
7+
]
8+
repository = "https://github.com/anomaly/lab-python-server"
9+
documentation = "https://anomaly.academy"
10+
readme = "README.md"
611

712
[tool.poetry.dependencies]
813
python = "^3.10"
@@ -33,7 +38,7 @@ pyhumps = "^3.7.3"
3338
watchdog = "^2.1.8"
3439

3540
[tool.poetry.scripts]
36-
init-db = "labs.db.init_db"
41+
init-db = "labs.db:main"
3742

3843
[tool.poetry.group.dev.dependencies]
3944
pytest = "^7.1.3"

0 commit comments

Comments
 (0)