Hi:
I am building a program which requires PyQt and PythonOCC. So far I feel
PyInstaller is my best option but I can't determine how to package my
program. I have the following directory tree and some detailed explanation
follows.:
- Program
- README
- program/
- __init__.py
- program.py
- programApp.py
- programData.py
- programModule1/
- __init__.py
- programModule2/
- __init__.py
- bin/
- program_GUI.py
- sample_scripts/
- script1.py
- script2.py
Summary of how my program works:
------------------------------------------------------
First, my program requires the user to create python scripts using
functions provided in a library I will call 'program.py'. A GUI for
creating the scripts is provided which I will call 'program_GUI.py' but the
user can just import the library in their scripts using their favorite text
editor. If the script is created in the GUI, a button is provided to
provide the desired output from the script however the user can just type
'python their-script-name.py' to achieve the same thing.
Description of the program folder structure:
----------------------------------------------------------------
My program is in a directory called 'Program' which contains program files
like 'README', etc. It also contains a 'bin' directory which is where the
'program_GUI.py' executable is. This is what the user will run to use the
GUI interface. The 'Program' directory also contains the main program files
and modules in a sub-directory called 'program'. This is where the main
library module 'program.py' is located with the user visible functions as
it can also be included directly as a library outside the GUI. There are
other modules and packages in the 'pogram' directory which both
'program.py' and 'program_GUI' use.
In addition PyQt4 and PythonOCC libraries are used as well.
I have read the manual and search the internet for examples or packaging
more than one file using pyInstaller without any success. I have also
looked for how to package PyQt programs and although I have seen some
example, non is recent enough. They all seem to say after unpacking
PyInstaller to execute Configure.py but there is no Configure.py in the
root of PyInstaller. It seems these instructions are for versions less than
the current one. I am guessing therefore that things have changed.
Can I get some pointers or examples of how to package using the current
PyInstaller and working with more than one module using the type of
structure I described here?
Thanks.
--
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.