-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
38 additions
and
3 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 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 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 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,33 @@ | ||
from typing import Tuple | ||
from pathlib import Path | ||
from importlib.resources import files | ||
import virtue | ||
import softworks | ||
|
||
|
||
@virtue.hookimpl | ||
def virtue_python_package_name() -> str: | ||
return "softworks" | ||
|
||
@virtue.hookimpl | ||
def virtue_skill_package_name() -> str: | ||
return "Softworks" | ||
|
||
@virtue.hookimpl | ||
def virtue_skill_initialization_paths() -> Tuple[Path]: | ||
return (files(softworks) / "softworks.cdsinit.ils"), | ||
|
||
@virtue.hookimpl | ||
def virtue_cdslibmgr_paths() -> Tuple[Path]: | ||
return (files(softworks) / "softworks.cdsLibMgr.il"), | ||
|
||
@virtue.hookimpl | ||
def virtue_data_reg_paths() -> Tuple[Path]: | ||
return ( | ||
files(softworks) / "python" / "SdmPy.data.reg", | ||
files(softworks) / "skill" / "SdmSkill.data.reg", | ||
files(softworks) / "pptx" / "SdmPptx.data.reg", | ||
files(softworks) / "xlsx" / "SdmXlsx.data.reg", | ||
files(softworks) / "pdf" / "SdmPdf.data.reg", | ||
files(softworks) / "html" / "SdmHtml.data.reg", | ||
) |