Package's templates

Hello Matthias,

Soo Long time not on this forum.
We are making now in my team a large usage of the package management and technology management tools and this is really convenient and powerful (with the exception of not being able to use it on a github with login/password required, but that's not a big issue)
However in our packages we need few more directory that the one created in the templates available. We wan't these directory to be created "automatically" when we create a new package. I digged in the klayout directory (windows, compiled) to find files describing these templates, but no luck.
Is it possible to create our own package's template?
What is the format used and how is it coded ? Is there a sample file available? or can this be done through scripting?
If it's possible to create these templates, where should the file be stored?

Regards
Joël

Comments

  • edited November 25

    Hi Joël,

    I'm afraid I don't fully understand. What's a package template?

    Basically you don't need to use a template. If you check the available packages there are all kind of structures, some with quite nested folders.

    If you create packages you can copy them from a template of yours. A package is essentially only a folder structure that is downloaded from some repository.

    Matthias

  • edited November 26

    Hi Matthias

    Thanks for your answer
    i mean the list of possible packages type available when you click on create packages.
    from my understanding they are only built-in (https://github.com/KLayout/klayout/tree/master/src/lay/lay/salt_templates), and i ask if it is possible to add "externally" other "type" of packages in the list (basically with another directory structure than the available one).

    I don't know if i am clear enough

    Joël

Sign In or Register to comment.