Upgrade networkx on Ubuntu 10.04 LTS to avoid deprecation warning.

This commit is contained in:
Bob Lantz
2011-06-29 19:25:28 -07:00
parent 5675f2a142
commit 7596de5903
+5
View File
@@ -84,6 +84,11 @@ function mn_deps {
sudo aptitude install -y gcc make screen psmisc xterm ssh iperf iproute \
python-setuptools python-networkx
if [ "$DIST" = "Ubuntu" ] && grep '10.04' /etc/*release*; then
echo "Upgrading networkx to avoid deprecation warning"
sudo easy_install --upgrade networkx
fi
#Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups:
sudo su -c "cat $HOME/mininet/util/sysctl_addon >> /etc/sysctl.conf"