Use setuptools to install python files

Now, to reference mininet files, use 'import mininet.mininet'.

PYTHONPATH mods are no longer required for installation.
This commit is contained in:
Brandon Heller committed 2009-12-18 12:12:37 -08:00
1 parent cd27f9db57
commit 51270ce4a2
16 files changed
+49 -19

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ to adjust them, e.g. by adding entries to /etc/sysctl.conf
and running sysctl -p.
"""
from mininet import init, TreeNet, Cli
from mininet.mininet import init, TreeNet, Cli
if __name__ == '__main__':
init()