title: PyInstaller 3.2, how to "bundle" arguments?
body: <p>I'm using PyInstaller 3.2 to package a Web.py app. Typically, with Web.py and the built-in WSGI <a href="http://webpy.org/cookbook/ssl" rel="noreferrer">server</a>, you specify the port on the command line, like</p>
  
  <pre><code>$ python main.py 8091
  </code></pre>
  
  <p>Would run the Web.py app on port 8091 (default is 8080). I'm bundling the app with PyInstaller via a spec file, but I can't figure out how to specify the port number with that -- passing in Options only seems to work for the <a href="http://pythonhosted.org/PyInstaller/spec-files.html" rel="noreferrer">3 given ones in the docs</a>. I'm tried:</p>
  
  <pre><code>exe = EXE(pyz,
            a.scripts,
            [('8091', None, 'OPTION')],
            a.binaries,
            a.zipfiles,
            a.datas,
            name='main',
            debug=False,
            strip=False,
            upx=True,
            console=False )
  </code></pre>
  
  <p>But that doesn't seem to do anything. I didn't see anything else in the docs -- is there another way to bundle / specify / include command-line arguments to the PyInstaller spec file?</p>