This commit is contained in:
ines 2017-03-21 12:26:00 +01:00
parent 83a999ea83
commit d74aa428ad

View File

@ -26,7 +26,7 @@ def package(input_dir, output_dir, force):
package_path = main_path / model_name package_path = main_path / model_name
create_dirs(package_path, force) 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 / 'meta.json', json.dumps(meta, indent=2))
create_file(main_path / 'setup.py', template_setup) create_file(main_path / 'setup.py', template_setup)
create_file(main_path / 'MANIFEST.in', template_manifest) create_file(main_path / 'MANIFEST.in', template_manifest)