mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix formatting of meta.json after spacy package
This commit is contained in:
parent
b7ce85a6f3
commit
c315e08e6e
|
@ -70,7 +70,7 @@ def package(input_dir, output_dir, meta_path=None, create_meta=False, force=Fals
|
|||
)
|
||||
Path.mkdir(package_path, parents=True)
|
||||
shutil.copytree(path2str(input_path), path2str(package_path / model_name_v))
|
||||
create_file(main_path / "meta.json", srsly.json_dumps(meta))
|
||||
create_file(main_path / "meta.json", srsly.json_dumps(meta, indent=2))
|
||||
create_file(main_path / "setup.py", TEMPLATE_SETUP)
|
||||
create_file(main_path / "MANIFEST.in", TEMPLATE_MANIFEST)
|
||||
create_file(package_path / "__init__.py", TEMPLATE_INIT)
|
||||
|
|
Loading…
Reference in New Issue
Block a user