title: How can I make PyInstaller's .spec files actually portable? (woes absolute path for 'pathex' parameter)
body: <p>The PyInstaller <code>.spec</code> file is mean to be portable across the three platforms that it supports: Windows, Mac OS X and Linux.</p>
  
  <p>I find it much easier to generate the <code>.spec</code> file once and modify it at will before building an executable from it.</p>
  
  <p>In every example on the Internet (e.g. <a href="http://www.blog.pythonlibrary.org/2010/08/10/a-pyinstaller-tutorial-build-a-binary-series/">this one</a>), the <code>.spec</code> file would always define an absolute path in for the <code>pathex</code> parameter in the ANALYSIS section. This makes the build non-portable, because the absolute path is not only specific to the machine the build runs on, but also the platform.</p>
  
  <p>Does this always have to be an absolute path or is there a way to make it completely portable?</p>