469,364 Members | 2,424 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,364 developers. It's quick & easy.

Pyinstaller Command line options.

Hi Everyone,

Can anyone who is familiar with pyinstaller explain how the command line options work. Below I have an sample of my spec file:

Expand|Select|Wrap|Line Numbers
  1.  
  2. a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), './client.py'],
  3.              pathex=['C:\\initiator_build\\Ini_Builds\\client'])
  4. pyz = PYZ(a.pure)
  5. exe = EXE( pyz,
  6.           a.scripts+[('u','','OPTION')],
  7.           [('u','','OPTION')],
  8.           a.binaries+[('u', '', 'OPTION')],
  9.           name='client.exe',
  10.           debug=False,
  11.           strip=False,
  12.           upx=False,
  13.           console=True)
  14.  
As you can probably tell, I'm not really sure where the unbuffered command line option tuple goes so I kinda placed it everywhere as following examples from the documentation. A binary file is still created, but it doesn't appear to act the same way as when when running the script with the -u option through the python interpreter. What is a.scripts and how does it differ from a.binaries? What is the difference between the three different locations I placed the tuple in terms of the executable that is created?

Thanks for all the help!
May 4 '07 #1
0 1051

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Edvard Majakari | last post: by
1 post views Thread by DierkErdmann | last post: by
reply views Thread by Keith | last post: by
1 post views Thread by Mark Delon | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.