From d5abc2ec96b226172a76d841619d73758e378bbd Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sat, 10 Jun 2023 18:01:36 -0500 Subject: [PATCH] update copier --- learn_sql_model/cli/model.py | 4 ++-- pyproject.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/learn_sql_model/cli/model.py b/learn_sql_model/cli/model.py index 53bb419..eb5ea67 100644 --- a/learn_sql_model/cli/model.py +++ b/learn_sql_model/cli/model.py @@ -2,7 +2,7 @@ from pathlib import Path import alembic from alembic.config import Config -from copier import run_auto +import copier import typer from learn_sql_model.cli.common import verbose_callback @@ -30,7 +30,7 @@ def create( ), ): template = Path("templates/model") - run_auto(str(template), ".") + copier.copy(str(template), ".") @model_app.command() diff --git a/pyproject.toml b/pyproject.toml index ec33f87..817fd9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,9 @@ classifiers = [ dependencies = [ "python-socketio[client]", "fastapi-socketio", +"psycopg2-binary", +'pygame', +'black', "anyconfig", "copier", "engorgio",