[Distutils] PEP 345, PEP 376, PEP 386
Tarek Ziadé
ziade.tarek at gmail.com
Thu Jun 4 15:29:07 CEST 2009
On Thu, Jun 4, 2009 at 3:23 PM, Brian Sutherland
<brian at vanguardistas.net> wrote:
>
> So, with setuptools I was running this while building a package:
>
> python2.X setup,py install --single-version-externally-managed
> --root=debian/$(package) --install-data=usr/lib/$(package)
>
> So, now I would need to run this:
>
> python2.X setup,py install --root=debian/$(package)
> --install-data=usr/lib/$(package) --installer
> 7e2fccc88b1f74aeee3d37340e8183ed
>
> And that would cause distutils to refuse to uninstall that package by default?
something like that,
but it would be even simpler : the installer option would be
automatically added by setuptools
when the 'install' command is called, with setuptools md5 marker.
(since setuptools has its own install command)
That said, maybe setuptools would decide to rely on distutils for
uninstallation if its installation turns to be compatible
with distutils'one , and not provide its own marker when you manually
call 'install' like you showed.
And easy_install would have its own marker maybe, if the way it
installs stuff slighlty differs
More information about the Distutils-SIG
mailing list