74 lines
2.2 KiB
TOML
74 lines
2.2 KiB
TOML
[tool.poetry]
|
|
name = 'dnd'
|
|
version = '1.0'
|
|
license = 'The Unlicense'
|
|
authors = ['Greg Boyington <evilchili@gmail.com>']
|
|
description = 'Source for a homebrew DND campaign toolset.'
|
|
packages = [
|
|
{ include = "site_tools" }
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10"
|
|
|
|
# cli business
|
|
typer = "latest"
|
|
rich = "latest"
|
|
pyyaml = "latest"
|
|
livereload = "latest"
|
|
jinja2-simple-tags = "latest"
|
|
pyinotify = "latest"
|
|
|
|
# static website
|
|
pelican = "^4.7.2"
|
|
pelican-drafts = "^0.1.1"
|
|
pelican-sitemap = "^1.0.2"
|
|
pelican-yaml-metadata = { git = "https://github.com/pR0Ps/pelican-yaml-metadata.git", branch = "cdc1b9708916410e455e8e258e3d39a9d575c7b5" }
|
|
|
|
# local wotsits
|
|
#dnd-npcs = { git = "https://github.com/evilchili/dnd-npcs", branch = 'main' }
|
|
#dnd-npcs = { path = "../../dnd-npcs" }
|
|
dnd-npcs = { file = "../../dnd-npcs/dist/dnd_npcs-0.2.0-py3-none-any.whl" }
|
|
elethis-cipher= { git = "https://github.com/evilchili/elethis-cipher", branch = 'main' }
|
|
#dnd-rolltable = { git = "https://github.com/evilchili/dnd-rolltable", branch = 'main' }
|
|
dnd-rolltable = { file = "../../dnd-rolltable/dist/dnd_rolltable-1.1.9-py3-none-any.whl" }
|
|
|
|
dnd-calendar = { path = "../../dnd-calendar" }
|
|
|
|
prompt-toolkit = "^3.0.38"
|
|
|
|
[tool.poetry.scripts]
|
|
site = "site_tools.cli:site_app"
|
|
roll-table = "rolltable.cli:app"
|
|
pelican = "site_tools.tasks:pelican_main"
|
|
dmsh = "site_tools.cli:dmsh"
|
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
black = "^23.3.0"
|
|
isort = "^5.12.0"
|
|
pyproject-autoflake = "^1.0.2"
|
|
|
|
[build-system]
|
|
requires = ['poetry-core~=1.0']
|
|
build-backend = 'poetry.core.masonry.api'
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
target-version = ['py310']
|
|
|
|
[tool.isort]
|
|
multi_line_output = 3
|
|
line_length = 120
|
|
include_trailing_comma = true
|
|
|
|
[tool.autoflake]
|
|
check = false # return error code if changes are needed
|
|
in-place = true # make changes to files instead of printing diffs
|
|
recursive = true # drill down directories recursively
|
|
remove-all-unused-imports = true # remove all unused imports (not just those from the standard library)
|
|
ignore-init-module-imports = true # exclude __init__.py when removing unused imports
|
|
remove-duplicate-keys = true # remove all duplicate keys in objects
|
|
remove-unused-variables = true # remove unused variables
|