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
2009-12-18 12:12:37 -08:00
parent cd27f9db57
commit 51270ce4a2
16 changed files with 49 additions and 19 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"Instantiate a Grid network and use NOX as the controller."
from mininet import init, Controller, GridNet, Cli
from mininet.mininet import init, Controller, GridNet, Cli
class NoxController( Controller ):
def __init__( self, name, **kwargs ):