diff --git a/spacy/cli/package.py b/spacy/cli/package.py index 88b93c9af..421330e23 100644 --- a/spacy/cli/package.py +++ b/spacy/cli/package.py @@ -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)