title: How can I add a Python site-package folder (that's not being included) to a PyInstaller spec file?
body: <p>I am having trouble including a python package while using PyInstaller, particularly <code>docxcompose</code> . This is a package that needs to import its site-package folder within the PyInstaller directory. I have pip installed docxcompose and it is in my site-packages library, with the folder labeled as <code>docxcompose</code>. <code>import docxcompose</code> is explicitly listed in the python file I am referencing in PyInstaller.</p>
  
  <p>I am debugging using a spec file and the --onedir method, as I want to eventually install using --onefile. I have added these to the analysis section of spec file so far, with no luck:</p>
  
  <pre><code>hiddenimports=['docxcompose']
  pathex=['C:\\Users\\myusername\\AppData\\Local\\Programs\\Python\\Python37\\Lib\\site-packages']
  </code></pre>
  
  <p>Is there a reason docxcompose is not being added in my PyInstall? Is there I way I can force that folder to be copied in during install otherwise?</p>