-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from GPla/pyproject.toml
Migration to pyproject.toml
- Loading branch information
Showing
6 changed files
with
42 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[project] | ||
name = "pydantic_cli" | ||
description = "Turn Pydantic defined Data Models into CLI Tools" | ||
authors = [{ name = "M. Kocher", email = "[email protected]" }] | ||
dependencies = ["pydantic>=2.8.2"] | ||
readme = "README.md" | ||
requires-python = ">= 3.10" | ||
dynamic = ['version'] | ||
urls = { 'Source Code' = 'http://github.com/mpkocher/pydantic-cli' } | ||
license = { file = "LICENSE" } | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Topic :: Utilities", | ||
"Topic :: Software Development", | ||
"Typing :: Typed", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest>=8.2.2", "pytest-cov>=4.0.0", "mypy>=1.10.1", "black>=24.4.2"] | ||
shtab = ["shtab>=1.3.1"] | ||
|
||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ['pydantic_cli', 'pydantic_cli.examples'] | ||
|
||
[tool.hatch.version] | ||
path = "pydantic_cli/_version.py" | ||
|
||
[tool.hatch.build] | ||
include = ['CHANGELOG.md'] |