24
loading...
This website collects cookies to deliver better user experience
pip install poetry
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
pip install -r requirements.txt
poetry install
poetry update
pip freeze
poetry show --tree
[tool.poetry]
name = "new_proj"
version = "0.1.0"
description = "DEVoneLove"
authors = ["Vadim Kolobanov <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
pygame = "^2.1.0"
icecream = "^2.1.1"
requests = "^2.26.0"
psycopg2 = { version = "^2.7", optional = true }
pymysql = { version = "1.0.2", optional = true }
[tool.poetry.dev-dependencies]
Pympler = "^0.9"
[tool.poetry.urls]
"My GitHub" = "https://github.com/vadimkolobanov"
[tool.poetry.scripts]
run-main = "new_proj.main:main_def"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry] - contains basic information about the project
[tool.poetry.dependencies] - contains a description of all project dependencies. A link to Github is specified.
[tool.poetry.scripts] - contains scripts that need to be run when installing dependencies
[tool.poetry.extras] - dependency groups for a separate installation
[tool.poetry.urls] - Along with the main URLs, you can specify your own links