From c8244925d1e62ee3fdb11298a6da1d0a05fd6cc1 Mon Sep 17 00:00:00 2001 From: Stefal Date: Thu, 21 Sep 2023 21:29:44 +0200 Subject: [PATCH] rename script --- for_futur_me.txt | 9 +++++++++ download.py => mapillary_download.py | 0 2 files changed, 9 insertions(+) create mode 100644 for_futur_me.txt rename download.py => mapillary_download.py (100%) diff --git a/for_futur_me.txt b/for_futur_me.txt new file mode 100644 index 0000000..3aa1407 --- /dev/null +++ b/for_futur_me.txt @@ -0,0 +1,9 @@ +When you want to build a binary with pyinstaller : + +https://github.com/LeoHsiao1/pyexiv2/issues/87#issuecomment-1728415363 +if anyone using windows to use pyinstaller, i found the solution for it, which is the command below. + +you need to use --add-binary for your "exiv2.dll" and use --add-data for your "exiv2api.pyd". + +pyinstaller --add-binary “C:\Python310\Lib\site-packages\pyexiv2\lib\exiv2.dll;.” --add-data “C:\Python310\Lib\site-packages\pyexiv2\lib\py3.10-win\exiv2api.pyd;.” --onefile ccc.py + diff --git a/download.py b/mapillary_download.py similarity index 100% rename from download.py rename to mapillary_download.py