Re: windows executable calling python script

2012-02-27 Thread Andrea Crotti
On 02/27/2012 02:21 PM, Andrea Crotti wrote: At the moment I ended up with something like this: #include #include #include #include // the function takes as arguments only the python interpreter full path int main(int argc, char *argv[]) { if (argc < 2) { fprintf(stderr, "Usage = ./

Re: windows executable calling python script

2012-02-27 Thread Andrea Crotti
On 02/27/2012 01:57 PM, Andrea Crotti wrote: I am creating an installer for python projects, using CMake and NSIS. Now my goal is to be able to select at installer time the python executable that will run that project, and then associate them. I saw that setuptools is able to generate exe wra

windows executable calling python script

2012-02-27 Thread Andrea Crotti
I am creating an installer for python projects, using CMake and NSIS. Now my goal is to be able to select at installer time the python executable that will run that project, and then associate them. I saw that setuptools is able to generate exe wrappers, but how does that work exactly? From w