2019-12-20 16:36:04 +01:00
|
|
|
[build-system]
|
|
|
|
requires = ["flit_core >=2,<3"]
|
|
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
|
|
|
|
[tool.flit.metadata]
|
|
|
|
module = "typer"
|
|
|
|
author = "Sebastián Ramírez"
|
|
|
|
author-email = "tiangolo@gmail.com"
|
|
|
|
home-page = "https://github.com/tiangolo/typer"
|
2019-12-24 13:34:00 +01:00
|
|
|
classifiers = [
|
|
|
|
"Intended Audience :: Information Technology",
|
|
|
|
"Intended Audience :: System Administrators",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
"Topic :: Software Development :: Libraries",
|
|
|
|
"Topic :: Software Development",
|
|
|
|
"Typing :: Typed",
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"License :: OSI Approved :: MIT License"
|
|
|
|
]
|
2019-12-20 16:36:04 +01:00
|
|
|
requires = [
|
2020-03-10 18:49:29 +01:00
|
|
|
"click >= 7.1.1, <7.2.0"
|
2019-12-20 16:36:04 +01:00
|
|
|
]
|
2019-12-24 13:34:00 +01:00
|
|
|
description-file = "README.md"
|
|
|
|
requires-python = ">=3.6"
|
|
|
|
|
|
|
|
[tool.flit.metadata.urls]
|
|
|
|
Documentation = "https://typer.tiangolo.com/"
|
|
|
|
|
|
|
|
[tool.flit.metadata.requires-extra]
|
|
|
|
test = [
|
2020-03-16 13:21:58 +01:00
|
|
|
"shellingham",
|
2020-04-26 15:42:13 +02:00
|
|
|
"pytest >=4.4.0,< 5.4",
|
2019-12-24 13:34:00 +01:00
|
|
|
"pytest-cov",
|
2019-12-28 14:44:08 +01:00
|
|
|
"coverage",
|
2020-01-05 20:50:14 +01:00
|
|
|
"pytest-xdist",
|
|
|
|
"pytest-sugar",
|
2019-12-24 13:34:00 +01:00
|
|
|
"mypy",
|
|
|
|
"black",
|
|
|
|
"isort"
|
|
|
|
]
|
|
|
|
doc = [
|
|
|
|
"mkdocs",
|
|
|
|
"mkdocs-material",
|
|
|
|
"markdown-include"
|
|
|
|
]
|
:sparkles: Add docs for testing, password, version, context. Extra tests, include callback and autocompletion PR (#68)
* :sparkles: Implement custom handling for callbacks with types
* :sparkles: Implement type-based handling for completion functions
* :sparkles: Add examples for custom completion
* :memo: Add docs for custom autocompletion
* :white_check_mark: Add tests for autocompletion
* :sparkles: Document using the context
* :white_check_mark: Add tests for using the context
* :white_check_mark: Add tests init for context
* :wrench: Update Mypy config
* :white_check_mark: Add extra tests for completion
* :pencil2: Fix format, typos, and minor texts
* :sparkles: Update docs for printing, include stdout, stderr, and stdin
* :pencil2: Add references to FastAPI, fix typos
* :pencil2: Fix typo in Typer CLI
* :memo: Update docs for version
* :memo: Update docs for callbacks
* :memo: Update references to stdout/stderr in autocompletion
* :memo: Add docs for password in CLI option
* :memo: Add docs and tests for Testing
* :memo: Add new sections to docs
* :art: Fix formatting
2020-03-18 21:17:47 +01:00
|
|
|
dev = [
|
|
|
|
"autoflake",
|
|
|
|
"flake8",
|
|
|
|
]
|
2019-12-24 13:34:00 +01:00
|
|
|
all = [
|
|
|
|
"colorama",
|
2020-03-16 13:21:58 +01:00
|
|
|
"shellingham"
|
2019-12-24 13:34:00 +01:00
|
|
|
]
|
2020-07-09 22:09:53 +02:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
known_third_party = ["typer", "click"]
|
|
|
|
skip_glob = [
|
|
|
|
"docs_src/subcommands/tutorial001/main.py",
|
|
|
|
"docs_src/subcommands/tutorial003/lands.py",
|
|
|
|
"docs_src/subcommands/tutorial003/main.py",
|
|
|
|
]
|