title: Moving all the DLL and PYD to a sub-folder with cx_Freeze
body: <p>This has come up quite a few times on the cx_Freeze mailing lists </p>
  
  <p>(see</p>
  
  <p><a href="https://stackoverflow.com/questions/4381470/cx-freeze-and-moving-files-around">cx_Freeze and moving files around</a></p>
  
  <p><a href="https://stackoverflow.com/questions/3241325/creating-fewer-files-when-freezing-a-python-application">Creating fewer files when freezing a Python application</a></p>
  
  <p><a href="https://stackoverflow.com/questions/4999567/cx-freeze-python-single-file?rq=1">cx_freeze python single file?</a>
  )</p>
  
  <p>and it seems to me like it ought to be a simple fix, but I can't see how to begin.</p>
  
  <p>I have a python application that depends on scipy, wxpython, numpy and a bunch of other packages that each have a LOT of dynamically linked libraries.  The main executable folder gets very cluttered with PYD and DLL files and it is hard to even find the executable amongst all the files.  My users are not particularly computer savvy, so clarity is very important.</p>
  
  <p>I don't require a single executable like can theoretically be generated by bbfreeze.  I like how the distutils setup.py file works with cx_Freeze and in every other way cx_Freeze is pretty much brilliant.</p>
  
  <p>All I want is a way to clean up the main executable folder.  I would be completely happy with manually moving the DLL files into a freeze_libs folder or something and then munging the shared library loading path to help it find the dynamic libraries if that is possible.  Or something like that.</p>
  
  <p>Thanks</p>