uninstall/upgrade?

Alexander Belchenko bialix at ukr.net
Tue Dec 18 12:42:45 GMT 2007


Martin Pool пишет:
> 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.

I want to say that setup.py install not always do the right thing.
For upgrade I recommend to use --force flag, i.e.

python setup.py install --force

In this case all files in site-packages/bzrlib will be overwritten with 
fresh version.



More information about the bazaar mailing list