Ok thanks you were right. It was pretty easy to bootstrap it. For reference
i leave here the code i used.

this is how you call it from an outside script

Import execreator.pyinstaller #my PyInstaller installation is on a folder
> called execreator
>
> pyinstaller.arguments.append('myscript.py')
> pyinstaller.arguments.append('--onefile')
> pyinstaller.arguments.append('--noconsole)
>

And in pyinstaller.py(v*1.5 Pre-Release*) i added one import
from sys import argv

and right after the imports i added

> arguments = []
>
> for arg in arguments:
>     argv.append(arg)
>

And thats it!

I hope this is useful to somebody.

And btw thanks for this great script, it came out as champion when i was
comparing .py to .exe compilers

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to