Skip to content

Commit

Permalink
packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Jan 17, 2024
1 parent a88a282 commit 70146dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nrp-devtools"
version = "0.1.5"
version = "0.1.6"
description = "NRP repository development tools"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -58,3 +58,10 @@ nrp-devtools = "nrp_devtools.main:nrp_command"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
include-package-data = true

[tool.setuptools.package-data]
nrp_devtools = ["*"]
"nrp_devtools.templates" = ["*", "**/*"]
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from oarepo_ui.resources import UIResourceConfig
from oarepo_ui.resources.config import TemplatePageUIResourceConfig
from oarepo_ui.resources.resource import TemplatePageUIResource


class ComponentsResourceConfig(UIResourceConfig):
class ComponentsResourceConfig(TemplatePageUIResourceConfig):
url_prefix = "/"
blueprint_name = "components"
template_folder = "templates"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ The components are placed in definitions directory, each component in its own fi
Please do not edit this file, it is created automatically when you run
nrp ui components create <component-name> [<ui-name:components>]
nrp ui components create <component-type> <component-name>
*/

0 comments on commit 70146dd

Please sign in to comment.