LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2005, 02:06 AM   #1
bbmak
Member
 
Registered: May 2004
Posts: 178

Rep: Reputation: 31
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
 
Old 04-16-2005, 10:14 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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

Last edited by foo_bar_foo; 04-16-2005 at 10:18 PM.
 
Old 04-17-2005, 03:01 PM   #3
bbmak
Member
 
Registered: May 2004
Posts: 178

Original Poster
Rep: Reputation: 31
setup.py bdist_rpm
what is this command do?
Make the python file to rpm?
 
Old 04-17-2005, 10:01 PM   #4
patheticdude
LQ Newbie
 
Registered: Jul 2004
Location: Chile
Distribution: Debian sid
Posts: 2

Rep: Reputation: 0
the command is python setup.py bdist_rpm, regards
 
Old 04-17-2005, 10:37 PM   #5
bbmak
Member
 
Registered: May 2004
Posts: 178

Original Poster
Rep: Reputation: 31
yes I mean what is the purpose of this command? Make the python file to rpm?
 
Old 04-18-2005, 05:34 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python question bluefire Programming 5 09-28-2004 12:30 PM
python question ywchen2000 Programming 1 04-20-2004 11:46 PM
A Python question gamehack Programming 2 03-17-2004 09:09 PM
Python setup.py problem jdtiede Linux - Software 0 03-04-2004 06:05 PM
Python question m4rccd Programming 1 08-24-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration