Message82586
A common problem is removing old files from the installed location.
eg.
version 1 installs.
site-packages/packagename/bla.so
version 2 installs.
site-packages/packagename/_bla.so
site-packages/packagename/bla.py
However, in version 2 if we install over the top of version 1, distutils
does not remove bla.so. Which causes the package to break because
bla.so will be used instead of bla.py
distutils should be able to be given a list of old files to make sure
are removed from the package.
It should work with the various installers... msi, dmg etc, as well as
when using setup.py install.
I've seen this cause breakage with numerous packages. The solution is
to hack some old file detection into each package, or tell users 'delete
the old install first'. Neither of which is really nice.
Specifying an old_files meta data should be able to help. |
|
Date |
User |
Action |
Args |
2009-02-21 22:43:51 | illume | set | recipients:
+ illume, tarek |
2009-02-21 22:43:50 | illume | set | messageid: <1235256230.9.0.667035234316.issue5342@psf.upfronthosting.co.za> |
2009-02-21 22:43:48 | illume | link | issue5342 messages |
2009-02-21 22:43:47 | illume | create | |
|