uninstall/upgrade?

John Arbash Meinel john at arbash-meinel.com
Mon Dec 17 22:45:37 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> On Dec 17, 2007 8:37 PM, Toni Mueller <support at oeko.net> wrote:
>> Hi Martin,
>>
>> today I feel really stupid. I'd like to see eg.
>>
>> # python setup.py uninstall
>>
>> OR at least
>>
>> # python setup.py upgrade
>>
>> but at least, I don't seem to be able to find appropriate docs right
>> now. :-(
> 
> Hi Toni,
> 
> Yes, I think that is missing from the setup.py framework (which is
> standard in Python, we didn't write it.)
> 
> What OS are you using?  You may be better off using eg a .deb package on Ubuntu.
> 
> For an upgrade, I think it will work to just run setup.py install from
> the new version.
> 

The only problem with "setup.py install" for an upgrade, is that it doesn't get
rid of existing files that have been removed.

In general, that shouldn't be a huge problem with Bazaar. The only case I know
of, is when we started using something from the python standard library xml.*.
And we had a "bzrlib/xml.py" for a while. We had to change the name of our
file, to get access to the stdlib files. But upgrading didn't help, because it
left your xml.py file behind. That was >1 year ago, and since then, I don't
know of any other case where having a stale file would cause any harm.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZvwQJdeBCYSNAAMRAk17AJ9YnKaUJCAVCOfq0xzotWsj1c8aWACeN9zb
JcUSU8Go+wCHSea+h4lrZu4=
=gpNb
-----END PGP SIGNATURE-----



More information about the bazaar mailing list