[Distutils] How to compile a simple Python embeded program using distutils (windows)
yasar11732 at gmail.com
Sat Oct 12 12:08:20 CEST 2013
I want to compile a simple python embedded program using distutils. My
codes are attached.
Codes create python_launcher.exe but windows gives me not a valid
win32 application error.
I can compile same code using visual c++ 2008 gui, so there is not any
problem on my compiler. I think problem is the way I use distutils.
My motivation is to create an executable file that will be distributed
with python27.dll so that end users can just click and run the program
without having to setup python interpreter on their computer.
This question can be found on
if you prefer answering on stackoverflow.
Additionally, can I use distutils to find paths like
`C:\Python27\include`, so that my codes can be portable?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 743 bytes
Desc: not available
More information about the Distutils-SIG