Distutils windows binaries...

Phil Hornby phil.hornby at accutest.co.uk
Mon Feb 2 14:17:02 EST 2004


I have tried posting this to the distutils SIG list but had no response so I
am hoping the general list can help...

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Okay, I love what I can do with distutils in windows - i.e. create a binary
distribution of a module/package/etc

But I have a few questions:

If I write a script to generate all the details of the distribution - files
list, etc - how do I force the script to make it into a binary distro? Do I
modify the arguement list passed to the script to 'fake' that it was called
with this? Cos I may well just want to run a script and have that as default
behaviour.

I have seen that there is the facility to build extension modules into the
distro by actually building them from source - is it recommended to do it
this way - what about including pre-built extensions? I have tried adding
them to the 'data_files' option and it seems to work - although by default
they don't end up where I would expect. Has anyone else played with that?

I know you can change the bitmap displayed during the install but can you
change the icon that is displayed for the *.exe that is generated?

Well I think that is enough questions for now...

--
Phil

"Requirements - what are they I just hack something together that does what
I think they want" ;)





More information about the Python-list mailing list