Skip to content

Commit

Permalink
adding support for poetry (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd authored Jan 16, 2024
1 parent 948f6cc commit e4117bc
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ deployments/kubehound/kubegraph/dsl/kubehound/target
.vscode/settings.json

# RBAC certificates
test/setup/test-cluster/RBAC/
test/setup/test-cluster/RBAC/

# poetry file
poetry.lock
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ thirdparty-licenses: ## Generate the list of 3rd party dependencies and write to

.PHONY: local-wiki
local-wiki: ## Generate and serve the mkdocs wiki on localhost
pip install mkdocs-material mkdocs-awesome-pages-plugin markdown-captions
mkdocs serve
poetry install || pip install mkdocs-material mkdocs-awesome-pages-plugin markdown-captions
poetry run mkdocs serve || mksdocs serve

.PHONY: local-release
local-release: ## Generate release packages locally via goreleaser
Expand Down
18 changes: 18 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tool.poetry]
name = "kubehoundpc-wiki"
version = "0.1.0"
description = "Generate and serve the mkdocs wiki on localhost"
authors = ["jt-dd"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
mkdocs = "^1.2"
mkdocs-material = "^9.4.7"
mkdocs-awesome-pages-plugin = "^2.9.2"
markdown-captions = "^2.1.2"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit e4117bc

Please sign in to comment.