From d74aa428ad6137b585ea000bdd8f2dde3c4da03d Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 21 Mar 2017 12:26:00 +0100 Subject: [PATCH] Fix path --- spacy/cli/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/package.py b/spacy/cli/package.py index e2c8000b3..b4dc76e9a 100644 --- a/spacy/cli/package.py +++ b/spacy/cli/package.py @@ -26,7 +26,7 @@ def package(input_dir, output_dir, force): package_path = main_path / model_name create_dirs(package_path, force) - shutil.copytree(input_path, (package_path / model_name_v).as_posix()) + shutil.copytree(input_path.as_posix(), (package_path / model_name_v).as_posix()) create_file(main_path / 'meta.json', json.dumps(meta, indent=2)) create_file(main_path / 'setup.py', template_setup) create_file(main_path / 'MANIFEST.in', template_manifest)