umi/pyproject.toml
a 4ac878fecb Modern packaging
- add pyproject.toml, README, and recommend using pdm
- cleanup dependencies and switch to better ones
- remove mumble stub

fix missing env var call
fix null env var
2022-12-12 06:59:21 -06:00

46 lines
1.1 KiB
INI

[project]
name = "umi"
version = "rolling-waves"
description = "a self-hostable single-guild discord bot for playing music and announcing vc channel joins/leaves"
authors = [
{name = "a", email = "a@trwnh.com"},
]
dependencies = [
"py-cord[voice,speed]>=2.0.0rc1",
"asyncio",
"yt-dlp",
"python-decouple",
"httpx",
]
requires-python = ">=3.10"
license = {text = "AGPL"}
readme = "README.md"
[project.optional-dependencies]
[tool.pdm.scripts]
format = "yapf --in-place --recursive ./umi"
[tool.pdm.dev-dependencies]
dev = [
"yapf>=0.32.0",
"toml>=0.10.2",
]
[tool.yapf]
"use_tabs" = true
"indent_width" = 1
"blank_lines_between_top_level_imports_and_variables" = 0
"dedent_closing_brackets" = true
"coalesce_brackets" = false
"continuation_align_style" = "fixed"
"continuation_indent_width" = 1
"blank_lines_around_top_level_definition" = 1
"indent_blank_lines" = true
"spaces_before_comment" = 1
"split_arguments_when_comma_terminated" = true
"allow_split_before_dict_value" = false
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"