Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM python:{{ cookiecutter.python_version }}
RUN mkdir /code
WORKDIR /code

COPY requirements.txt setup.py tox.ini ./
COPY requirements.txt pyproject.toml tox.ini ./
RUN pip install -U pip
RUN pip install -r requirements.txt
RUN pip install -e .
Expand Down
24 changes: 24 additions & 0 deletions {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "{{cookiecutter.app_name}}"
version = "0.1"
dependencies = [
"flask",
"flask-sqlalchemy",
"flask-restful",
"flask-migrate",
"flask-jwt-extended",
"flask-marshmallow",
"marshmallow-sqlalchemy",
"python-dotenv",
"passlib",
"apispec[yaml]",
"apispec-webframeworks",
]

[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests"]
23 changes: 0 additions & 23 deletions {{cookiecutter.project_name}}/setup.py

This file was deleted.