On 14 September 2000, Rene Liebscher said:
It is only build.py, all other command get their paths from build. I changed only the platform specific directories.
lib.linux2 -> lib-1.5.linux2 temp.linux2 -> temp-1.5.linux2
If you try this with distutils, you will not see any changes, because distutils is a pure-python package. (file: lib-x.x.patch)
OK, thanks -- I reworked your patch a bit and checked it in. Note that with the recent changes to util.get_platform(), those directories are actually named (eg.) "lib-1.5-linux-i586" and "temp-1.5-linux-i586". (I changed your . to a -.) Two things to note: * if we ever start byte-compiling at build-time, rather than install- time, then the Python version will matter for pure Python distributions * the "bdist" command also generates "platform-dependent" directory names; I can't think of any reason to put the Python version in them, but I could be missing something. It's a wee bit inconsistent to have "lib-1.5-linux-i586" next to "bdist.linux-i586". Arg! I just noticed more -/. confusion there. Now it's "lib.linux-i586-1.5".
In the CVS are the source files for the windows installer. So everyone can create his own, I think most people would like to change the bitmap (PythonPowered) and use a more specific bitmap for their package.
I agree, but it does seem silly to create a new executable for every bitmap. Why not fix things so you can supply a bitmap file? (But being able to specify the exe file seems useful in its own right, so don't throw that patch away!) I'll let you and Thomas work it out, and Thomas can check it in when he's happy with it.
python setup.py bdist --formats=zip,gztar
doesn't work. It deletes the build tree after creating the first archive.
Son of a gun, so it doesn't. I thought I tested that... sigh...
There is a simple solution for that.
Unfortunately, the bug is deeper than that. Your patch is a nice optimization, but this should work without it (redoing the build and install for each format). I think the blame lies on bdist_dumb, but it needs some help from Command and Distribution to get everything right. Working on it now, but I need sleep... If I get it working, then I'll see about applying your optimization patch. Greg -- Greg Ward gward@python.net http://starship.python.net/~gward/