Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 894 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 894 Bytes

poetry-sample

This is a sample project for using poetry. It provides a template for using poetry to version control python libraries and to perform unit testing and code style checking for pytest, flake8, etc. By using taskipy, it is possible to provide aliases defining commands for pytest and flake8. These settings can be edited in pyproject.toml.

Install poetry(if you haven't)

If you don't have poetry, you have to install(python is also required). See detail at poetry doc https://python-poetry.org/docs/ .

Linux:

curl -sSL https://install.python-poetry.org | python -

Windows:(use PowerShell)

(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -

Install python libs

for production:

poetry install --no-dev

for develop:

poetry install