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: -
-
a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), './client.py'],
-
pathex=['C:\\initiator_build\\Ini_Builds\\client'])
-
pyz = PYZ(a.pure)
-
exe = EXE( pyz,
-
a.scripts+[('u','','OPTION')],
-
[('u','','OPTION')],
-
a.binaries+[('u', '', 'OPTION')],
-
name='client.exe',
-
debug=False,
-
strip=False,
-
upx=False,
-
console=True)
-
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!
0 1152 Sign in to post your reply or Sign up for a free account.
Similar topics
by: Edvard Majakari |
last post by:
Hi,
I was wondering what would be the most elegant way for creating a Python class
wrapper for a command line utility, which takes three types of arguments:
1. options with values (--foo=bar)...
|
by: kbperry |
last post by:
Hi all,
I am pretty confused on this?
While pyinstaller has a "MakeCOMServer.py" thing, it seems to blow up
every time I run it. It keeps complaining that a dictionary that I
have has...
|
by: jlw16 |
last post by:
Hello,
I’m trying to use my vbs script to get a command line argument for a file which will need to be opened through QuickTestPro. Below are the commands I’m using:
Dim qt_file 'As String ->...
|
by: true911m |
last post by:
This is a simple walkthrough to get PyInstaller up and running.
I decided to give PI a try, because it claims to be more selective about what it bundles into its executable files by default, and...
|
by: DierkErdmann |
last post by:
Hi !
I am trying to create an exe file using pyinstaller. Running the
created exe-File gives the error message
""
Traceback (most recent call last):
File "<string>", line 8, in <module>
File...
|
by: Keith |
last post by:
Hello,
I am trying to create exectuables on inux using "pyinstaller". I am
using pyinstaller-1.3, RHEL 4.4, Python 2.5.
The executables fail to run. The problem returned is pertaining to...
|
by: luke14free |
last post by:
Hello,
I'm working on a project and I need to compile it to run it on win as an exe.
I choose pyinstaller to build my exe but after several tries my result is always the same, from my console...
|
by: Ojas |
last post by:
Hi!,
I just out of curiosity want to know how top detect the client side
application under which the script is getting run. I mean to ask the
how to know whether the script is running under...
|
by: Mark Delon |
last post by:
Hi,
I need to generate single EXEcutable via PyInstaller.
It will be genereated -i get one single executable.
AFTER CALL (exe) I get an error: "no module named _gt"
Build command:
1....
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |