Revision ad4331a4
Added by koszko over 1 year ago
src/hydrilla/builder/build.py | ||
---|---|---|
35 | 35 |
|
36 | 36 |
from .. import util |
37 | 37 |
|
38 |
here = Path(__file__).resolve().parent |
|
39 |
with open(here / 'schemas' / 'package_source-1.schema.json') as schema_file: |
|
40 |
index_json_schema = json.load(schema_file) |
|
38 |
index_json_schema = util.load_schema('package_source-1.schema.json') |
|
41 | 39 |
|
42 | 40 |
class FileReferenceError(Exception): |
43 | 41 |
""" |
Also available in: Unified diff
facilitate for including other schemas in submodule and expose them to other packages