| 1 |
[project] |
| 2 |
name = "invoke" |
| 3 |
requires-python = ">=3.9" |
| 4 |
version = "3.0.3" |
| 5 |
description = "Pythonic task execution" |
| 6 |
readme = "README.rst" |
| 7 |
license = "BSD-2-Clause" |
| 8 |
license-files = ["LICENSE"] |
| 9 |
authors = [{ name = "Jeff Forcier", email = "[email protected]" }] |
| 10 |
|
| 11 |
# We have a few 'dependencies' but we vendor them internally. |
| 12 |
dependencies = [] |
| 13 |
|
| 14 |
classifiers = [ |
| 15 |
"Development Status :: 5 - Production/Stable", |
| 16 |
"Environment :: Console", |
| 17 |
"Intended Audience :: Developers", |
| 18 |
"Intended Audience :: System Administrators", |
| 19 |
"Operating System :: POSIX", |
| 20 |
"Operating System :: Unix", |
| 21 |
"Operating System :: MacOS :: MacOS X", |
| 22 |
"Operating System :: Microsoft :: Windows", |
| 23 |
"Programming Language :: Python", |
| 24 |
"Programming Language :: Python :: 3", |
| 25 |
"Programming Language :: Python :: 3 :: Only", |
| 26 |
"Programming Language :: Python :: 3.9", |
| 27 |
"Programming Language :: Python :: 3.10", |
| 28 |
"Programming Language :: Python :: 3.11", |
| 29 |
"Programming Language :: Python :: 3.12", |
| 30 |
"Programming Language :: Python :: 3.13", |
| 31 |
"Programming Language :: Python :: 3.14", |
| 32 |
"Topic :: Software Development", |
| 33 |
"Topic :: Software Development :: Build Tools", |
| 34 |
"Topic :: Software Development :: Libraries", |
| 35 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 36 |
"Topic :: System :: Software Distribution", |
| 37 |
"Topic :: System :: Systems Administration", |
| 38 |
] |
| 39 |
|
| 40 |
|
| 41 |
[project.urls] |
| 42 |
Docs = "https://docs.pyinvoke.org" |
| 43 |
Source = "https://github.com/pyinvoke/invoke" |
| 44 |
Changelog = "https://www.pyinvoke.org/changelog.html" |
| 45 |
CI = "https://app.circleci.com/pipelines/github/pyinvoke/invoke" |
| 46 |
Issues = "https://github.com/pyinvoke/invoke/issues" |
| 47 |
|
| 48 |
|
| 49 |
[project.scripts] |
| 50 |
invoke = "invoke.main:program.run" |
| 51 |
inv = "invoke.main:program.run" |
| 52 |
|
| 53 |
|
| 54 |
[build-system] |
| 55 |
requires = ["setuptools >= 77"] |
| 56 |
build-backend = "setuptools.build_meta" |
| 57 |
|
| 58 |
|
| 59 |
[tool.setuptools.packages.find] |
| 60 |
include = ["invoke*"] |
| 61 |
|
| 62 |
|
| 63 |
[dependency-groups] |
| 64 |
dev = [ |
| 65 |
# Invocations, for all sorts of things |
| 66 |
"invocations>=4", |
| 67 |
# Coverage! |
| 68 |
"coverage>=6.2,<7", |
| 69 |
# Docs |
| 70 |
"releases>=2", |
| 71 |
"alabaster==0.7.12", |
| 72 |
# Testing |
| 73 |
"pytest-relaxed>=2", |
| 74 |
"pytest-cov>=4", |
| 75 |
# Formatting |
| 76 |
"flake8~=7.3.0", |
| 77 |
"black>=23.3.0", |
| 78 |
# Packaging |
| 79 |
"setuptools>56", |
| 80 |
# Debuggery |
| 81 |
"icecream>=2.1", |
| 82 |
# typing |
| 83 |
"mypy==0.971", |
| 84 |
"types-PyYAML==6.0.12.4", |
| 85 |
] |
| 86 |
|
| 87 |
|
| 88 |
[tool.mypy] |
| 89 |
# If I assign to a method, I darn well mean to. (but usually it's tests) |
| 90 |
disable_error_code = ["assignment"] |
| 91 |
disallow_untyped_defs = true |
| 92 |
exclude = ["_support"] |
| 93 |
ignore_missing_imports = true |
| 94 |
show_error_codes = true |
| 95 |
warn_incomplete_stub = true |
| 96 |
warn_redundant_casts = true |
| 97 |
warn_unused_ignores = true |
| 98 |
overrides = [ |
| 99 |
{ module = "alabaster", ignore_missing_imports = true }, |
| 100 |
{ module = "icecream", ignore_missing_imports = true }, |
| 101 |
{ module = "invocations", ignore_missing_imports = true }, |
| 102 |
{ module = "invoke.vendor.*", ignore_errors = true }, |
| 103 |
{ module = "pytest_relaxed", ignore_missing_imports = true }, |
| 104 |
] |
| 105 |
|
| 106 |
|
| 107 |
[tool.ruff] |
| 108 |
line-length = 79 |