Hi,

I'm finding a related problem.

Pyinstaller v3.1 on Mac (Capitan) does not appear to have the --add-data 
option at all.

Typing, e.g.:

$> pyinstaller --add-data='myfile.txt' myscript.py

Fails with:

error: unrecognized arguments: --add-data=

Typing:

$> pyinstaller -h

indeed reveals that the option '--add-data' is not available under section
'what to bundle, where to search', in contrast to the documentation.

Any ideas?

Thanks.

On Wednesday, July 17, 2019 at 12:37:54 AM UTC+10, Amir Katz wrote:
>
> I tried this command (which does work fine w/o the --add-data option):
>
>     (venv-374) pyinstaller --path .\venv-374\lib\site-packages --add-data 
> 'resources:resources' .\notification-tool.py
>
> and I get this error:
>
>    * pyinstaller: error: argument --add-data: invalid add_data_or_binary 
> value: 'resources:resources'*
>
> When I added this in the .spec file, I was able to add my files:
>
>     datas=[('resources', 'resources')],
>
> If this is a known bug, apologies in advance.
>
> Thanks,
> Amir
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/8c1eb1e8-cd79-49f4-b355-95cc563f683f%40googlegroups.com.

Reply via email to