Hi,  Thanks. 

So far am able to do 'pyinstaller --name program program.py' and it 
magically pulls all the parts of the program into one directory nicely. My 
problem is the GUI part. You see the GUI module is standalone. It provides 
the user with menu's and a text dialog to create a script file. The first 
line in the script file imports program.py and when the user has finished 
creating the script file clicks a button and the GUI system basically calls 
python to process the file. So there is no connection between the 
program-GUI.py and program.py via an import.

I hope that makes sense.

On Thursday, March 6, 2014 1:11:11 PM UTC-5, davecortesi wrote:
>
> > Kene Meniru <[email protected] <javascript:>> Mar 04 05:27PM -0800  
>
> > I am building a program which requires PyQt and PythonOCC.
>
> Interesting! I had never heard of PythonOCC (www.pythonocc.org/), which 
> is a 3D CAD tool for Python.
>
> > I have the following directory tree...
>
> Unfortunately I think the email program lost the indentation. However, 
> pyinstaller can find any module that Python can import. So if everything 
> that program.py needs is found by "import" statements in it, you just 
> package program.py and that's it.
>
> You say you have read the manual, did you mean this? 
> http://pythonhosted.org/PyInstaller/
> The only place where that mentions "configure" is in the section on 
> "building a bootloader". That is an advanced topic you should not need. You 
> just "pip install pyinstaller" and when that finishes you should just try 
>
> > cd Program/program
> > pyinstaller program.py
>
> and see what happens.
>
> If program.py links to program_GUI by some other way than "import 
> program_GUI" then explain that part in more detail.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to