python setup.py question
I want to know if I want to uninstall a setup.py src. What command should I use?
python setup.py uninstall??? this one not work? anyone know how to uninstall? I know make command have "make uninstall" but not sure about python |
there have been plans for python to implement a database to keep track of stuff so you can do uninstall for a number of years but i don't think anyone has actually added it yet. so i think there is no uninstall feature if the person used the distutils straight up.
i have seen packages where setup.py uninstall works but it's something the package maker has to add i think (as an extension ?) i'm not actually sure how to do it edit: just as an afterthought in the future you might try if you have an rpm based system setup.py bdist_rpm and then later you can uninstall it |
setup.py bdist_rpm
what is this command do? Make the python file to rpm? |
the command is python setup.py bdist_rpm, regards :)
|
yes I mean what is the purpose of this command? Make the python file to rpm?
|
well if the setup script is written properly there is no need for the python at the beginning but we digress
yes what that does is use the info in the setup script to create a rpm for your system including the .spec file that rpm uses to catalogue and track dependancies and what not -- very cool |
All times are GMT -5. The time now is 10:52 AM. |