Logo
Explore Help
Sign In
F5/unison
1
0
Fork 0
You've already forked unison
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
2600c62fa629f1f3607fd39b32a0a0ffcba8b255
unison/build-support/pip-wheel/visualizer/__init__.py

12 lines
332 B
Python
Raw Normal View History

bindings: package ns-3 as a pip wheel Includes: - Python examples to test Brite, Click and Openflow - CI jobs for manylinux packaging of pip wheel - Support for Linux distributions with lib and lib64 directories - Configuration of RPATH not to require setting LD_LIBRARY_PATH Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
2023-02-03 22:30:38 -03:00
# This is a stub module that loads the actual visualizer
visualizer: fix pip packaging stubs and import statements
2023-07-03 12:54:44 -03:00
# from ns3.visualizer
bindings: package ns-3 as a pip wheel Includes: - Python examples to test Brite, Click and Openflow - CI jobs for manylinux packaging of pip wheel - Support for Linux distributions with lib and lib64 directories - Configuration of RPATH not to require setting LD_LIBRARY_PATH Signed-off-by: Gabriel Ferreira <gabrielcarvfer@gmail.com>
2023-02-03 22:30:38 -03:00
import sys
try:
import ns3.visualizer
except ModuleNotFoundError as e:
print("Install the ns3 package with pip install ns3.", file=sys.stderr)
exit(-1)
from ns3.visualizer import start, register_plugin, set_bounds, add_initialization_hook
Reference in New Issue Copy Permalink
Copyright © 2020-  F5Soft.site
English
English 简体中文
皖ICP备20010971号-1