LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   python setup.py question (https://www.linuxquestions.org/questions/linux-software-2/python-setup-py-question-313774/)

bbmak 04-16-2005 02:06 AM

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

foo_bar_foo 04-16-2005 10:14 PM

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

bbmak 04-17-2005 03:01 PM

setup.py bdist_rpm
what is this command do?
Make the python file to rpm?

patheticdude 04-17-2005 10:01 PM

the command is python setup.py bdist_rpm, regards :)

bbmak 04-17-2005 10:37 PM

yes I mean what is the purpose of this command? Make the python file to rpm?

foo_bar_foo 04-18-2005 05:34 PM

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.