Skip to content

Commit

Permalink
Update tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Tes3awy committed Sep 2, 2024
1 parent 7ecee1c commit 64a5a6b
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
[build-system]
requires = ["setuptools >= 61.0"]
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "vetr-summarizer"
version = "0.1.0"
description = "A package to generate HTML reports from ACI VETR data JSON files."
description = "A Python package for visualizing ACI vetR JSON data"
authors = [{ name = "Osama Abbas", email = "[email protected]" }]
maintainers = [{ name = "Osama Abbas", email = "[email protected]" }]
license = { file = "LICENSE" }
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.9.0, <4"
keywords = [
"cisco",
"aci",
"Cisco",
"ACI",
"automation",
"vetr-collector",
"devnet",
"datacenter",
"summarizer",
"JSON",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -39,7 +41,7 @@ classifiers = [
"Typing :: Typed",
]

dependencies = ["jinja2==3.1.4"]
dependencies = ["jinja2>=3.0.0"]

[project.optional-dependencies]
dev = ["pre-commit", "bumpver", "black", "isort"]
Expand All @@ -53,13 +55,21 @@ Changelog = "https://github.com/Tes3awy/vetr-summarizer/main/CHANGELOG.md"

[tool.setuptools]
platforms = ["any"]
package-dir = { "" = "src" }
include-package-data = true

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
"vetr_summarizer" = ["templates/*.j2", "config/excluded_keys"]
"vetr_summarizer.templates" = ["vetr-data.j2"]
"vetr_summarizer.config" = ["excluded_keys"]

[tool.setuptools.data-files]
"vetr-summarizer" = [
"src/vetr_summarizer/config/excluded_keys",
"src/vetr_summarizer/templates/vetr-data.j2",
]

[project.scripts]
vetr-summarizer = "vetr_summarizer.__main__:main"
Expand All @@ -77,3 +87,17 @@ tag_scope = "default"
[tool.bumpver.file_patterns]
"pyproject.toml" = ['^version = "{version}"', '^current_version = "{version}"']
"src/vetr_summarizer/__init__.py" = ['^__version__ = "{version}"$']

[tool.black]
exclude = '''
/(
\.git
| \.venv
| assets
| build
| dist
)/
'''

[tool.isort]
profile = "black"

0 comments on commit 64a5a6b

Please sign in to comment.