Skip to content

Commit

Permalink
Add new optional dependency sets
Browse files Browse the repository at this point in the history
  • Loading branch information
masklinn committed Jan 8, 2024
1 parent e9483d8 commit 5e21ca1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ version = "1.0.0a"
readme = "README.rst"
requires-python = ">=3.8"
dependencies = []
optional-dependencies = { yaml = ["PyYaml"] }

[optional-dependencies]
yaml = ["PyYaml"]
all = ["ua-parser[yaml]"]
test = ["pytest", "ua-parser[all]"]
check = ["black", "flake8", "mypy"]
dev = ["ua-parser[check,test]"]

license = {text = "Apache 2.0"}
urls = {repository = "https://github.com/ua-parser/uap-python"}
Expand Down

0 comments on commit 5e21ca1

Please sign in to comment.