fbs icon indicating copy to clipboard operation
fbs copied to clipboard

Import extra folder

Open pi511 opened this issue 5 years ago • 3 comments

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

pi511 avatar Mar 03 '20 11:03 pi511

I think you'll find the answer to your question under either declaring dependencies or under resource files in the manual.

mherrmann avatar Mar 03 '20 14:03 mherrmann

(Alternatively, you can overwrite the freeze command to, in an extra step, copy the files into target.)

mherrmann avatar Mar 03 '20 14:03 mherrmann

(Alternatively, you can overwrite the freeze command to, in an extra step, copy the files into target.)

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)

pi511 avatar Mar 03 '20 14:03 pi511