Import extra folder
When I use docx module (python-docx) in my project, it needs Lib\site-packages\docx\templates folder to be in the path. I do add it manually, but when I issue "fbs clean" it is deleted. How can I instruct "fbs freeze" or "fbs install" commands to include "Lib\site-packages\docx\templates" folder?
- Windows 10, 2012, 2016
- python==3.6
- fbs==0.84
- PyInstaller==3.4
- PyQt5==5.11.3
Thanks in advance
I think you'll find the answer to your question under either declaring dependencies or under resource files in the manual.
(Alternatively, you can overwrite the freeze command to, in an extra step, copy the files into target.)
(Alternatively, you can overwrite the
freezecommand to, in an extra step, copy the files intotarget.)
This is great, I'll work on it. (I've tried dependencies and resources but the folder is not inside the project tree, docx module depends on it, but does not provide a way of changing the required path, so that I can include it in my project)