[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[minion-cvs] A distribution is more than its package tool
Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv17599
Modified Files:
setup.py
Log Message:
A distribution is more than its package tool
Index: setup.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/setup.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- setup.py 7 Jan 2003 18:40:48 -0000 1.33
+++ setup.py 7 Jan 2003 19:16:26 -0000 1.34
@@ -142,10 +142,10 @@
except ImportError:
print "Uh oh. You have Python installed, but I didn't find the distutils"
print "module, which is supposed to come with the standard library."
- if _haveCmd("apt-get"):
+ if os.path.exits("/etc/debian_version"):
v = sys.version[:3]
print "Debian may expect you to install python%s-dev"%v
- elif _haveCmd("rpm"):
+ elif os.path.exists("etc/redhat-release"):
print "Redhat may need to install python2-devel"
else:
print "You may be missing some 'python development' package for your"