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:
@@ -8,7 +8,7 @@ but it exposes the configuration details and allows customization.
|
||||
This version uses the user datapath.
|
||||
"""
|
||||
|
||||
from mininet import init, Node, createLink
|
||||
from mininet.mininet import init, Node, createLink
|
||||
|
||||
def scratchNetUser( cname='controller', cargs='ptcp:'):
|
||||
# Create Network
|
||||
|
||||
Reference in New Issue
Block a user