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 = [
|
2021-08-30 09:57:12 +02:00
|
|
|
"click >= 7.1.1, <9.0.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-07-09 23:47:08 +02:00
|
|
|
"shellingham >=1.3.0,<2.0.0",
|
|
|
|
"pytest >=4.4.0,<5.4.0",
|
2022-11-05 00:08:30 +01:00
|
|
|
"coverage >=5.2,<7.0",
|
2020-07-09 23:47:08 +02:00
|
|
|
"pytest-xdist >=1.32.0,<2.0.0",
|
|
|
|
"pytest-sugar >=0.9.4,<0.10.0",
|
2021-08-30 09:57:12 +02:00
|
|
|
"mypy ==0.910",
|
2022-03-30 21:11:34 +02:00
|
|
|
"black >=22.3.0,<23.0.0",
|
2022-07-06 13:32:19 +02:00
|
|
|
"isort >=5.0.6,<6.0.0",
|
|
|
|
"rich >=10.11.0,<13.0.0",
|
2019-12-24 13:34:00 +01:00
|
|
|
]
|
|
|
|
doc = [
|
2020-07-09 23:47:08 +02:00
|
|
|
"mkdocs >=1.1.2,<2.0.0",
|
2022-02-13 17:35:53 +01:00
|
|
|
"mkdocs-material >=8.1.4,<9.0.0",
|
|
|
|
"mdx-include >=1.4.1,<2.0.0",
|
2022-11-04 22:43:16 +01:00
|
|
|
"pillow >=9.3.0,<10.0.0",
|
|
|
|
"cairosvg >=2.5.2,<3.0.0",
|
2019-12-24 13:34:00 +01:00
|
|
|
]
|
: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 = [
|
2020-07-09 23:47:08 +02:00
|
|
|
"autoflake >=1.3.1,<2.0.0",
|
|
|
|
"flake8 >=3.8.3,<4.0.0",
|
2022-05-12 02:59:56 +02:00
|
|
|
"pre-commit >=2.17.0,<3.0.0",
|
: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
|
|
|
]
|
2019-12-24 13:34:00 +01:00
|
|
|
all = [
|
2020-07-09 23:47:08 +02:00
|
|
|
"colorama >=0.4.3,<0.5.0",
|
2022-07-06 13:32:19 +02:00
|
|
|
"shellingham >=1.3.0,<2.0.0",
|
|
|
|
"rich >=10.11.0,<13.0.0",
|
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",
|
|
|
|
]
|