Mercurial > hg > orthanc-stone
comparison Applications/Samples/Deprecated/StoneSampleCommands_generate.py @ 1381:f4a06ad1580b
Branch broker is now the new default
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 22 Apr 2020 14:05:47 +0200 |
parents | bfd77672d825 |
children |
comparison
equal
deleted
inserted
replaced
1375:4431ffdcc2a4 | 1381:f4a06ad1580b |
---|---|
1 import sys | |
2 import os | |
3 | |
4 # add the generation script location to the search paths | |
5 sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'Resources', 'CodeGeneration')) | |
6 | |
7 # import the code generation tooling script | |
8 import stonegentool | |
9 | |
10 schemaFile = os.path.join(os.path.dirname(__file__), 'StoneSampleCommands.yml') | |
11 outDir = os.path.dirname(__file__) | |
12 | |
13 # ignition! | |
14 stonegentool.Process(schemaFile, outDir) | |
15 | |
16 |