1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "package"
description = "Package Description"
readme = "README.rst"
authors = [{name="Author", email="author@gmail.com"}]
license = {file="LICENSE"}
requires-python = ">=3.6"
dynamic = ["version"]
requires = [
"pywin32; platform_system=='Windows' and platform_python_implementation!='PyPy'",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
]
keywords = [
"cli",
]
[project.optional-dependencies]
dev = [
"pytest>=6.0",
]
docs = [
"sphinx>=4.0.0",
]
ssh = [
"paramiko",
]
[tool.setuptools]
platforms = ["POSIX", "Windows"]
[tool.setuptools.packages.find]
include = ["plumbum"]
[tool.setuptools.package-data]
"plumbum.cli" = ["i18n/*/LC_MESSAGES/*.mo"]
[tool.setuptools_scm]
write_to = "plumbum/version.py"
[tool.mypy]
files = ["plumbum"]
[[tool.mypy.overrides]]
module = ["IPython.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--cov-config=setup.cfg", "--strict-markers", "--strict-config"]
filterwarnings = [
"always"
]
[tool.isort]
profile = "black"
|