From 86e791794830d1e299351567239af49d999b0295 Mon Sep 17 00:00:00 2001 From: Denys Chura Date: Tue, 8 Oct 2024 17:27:25 +0300 Subject: [PATCH] Set poetry `package-mode = false` and some related clean-up --- {{ cookiecutter.project_slug }}/api/Makefile | 2 +- {{ cookiecutter.project_slug }}/api/pyproject.toml | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/{{ cookiecutter.project_slug }}/api/Makefile b/{{ cookiecutter.project_slug }}/api/Makefile index 148874d..16511fe 100644 --- a/{{ cookiecutter.project_slug }}/api/Makefile +++ b/{{ cookiecutter.project_slug }}/api/Makefile @@ -1,7 +1,7 @@ .ONESHELL: install: - poetry install --with dev --no-root + poetry install --with dev lock: poetry lock diff --git a/{{ cookiecutter.project_slug }}/api/pyproject.toml b/{{ cookiecutter.project_slug }}/api/pyproject.toml index d1d6287..682e527 100644 --- a/{{ cookiecutter.project_slug }}/api/pyproject.toml +++ b/{{ cookiecutter.project_slug }}/api/pyproject.toml @@ -1,12 +1,5 @@ -[build-system] -requires = ["poetry-core", "setuptools", "pip"] - [tool.poetry] -name = "{{ cookiecutter.project_name }}" -version = "0.1.0" -description = "" -authors = [] -packages = [{include = "{{ cookiecutter.project_slug }}"}] +package-mode = false [tool.poetry.dependencies] python = "^{{ cookiecutter.python_version.lower() }}"