mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 02:28:05 +00:00
12
README.rst
12
README.rst
@@ -30,6 +30,12 @@ Installation
|
|||||||
|
|
||||||
This will install the current (tagged) release version.
|
This will install the current (tagged) release version.
|
||||||
|
|
||||||
|
This will make the library available for your use. To test, try importing `gnpy` from your Python console
|
||||||
|
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
>>> import gnpy
|
||||||
|
|
||||||
It can also be installed directly from the repo.
|
It can also be installed directly from the repo.
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
@@ -79,6 +85,12 @@ You may need to set PYTHONPATH variable. For example on Ubuntu, add your workspa
|
|||||||
|
|
||||||
export PYTHONPATH=$PYTHONPATH:~/<workspace path>/oopt-gnpy/
|
export PYTHONPATH=$PYTHONPATH:~/<workspace path>/oopt-gnpy/
|
||||||
|
|
||||||
|
You may need to set PYTHONPATH variable. For example on Ubuntu, add your workspace path to PYTHONPATH in your .bashrc file:
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
export PYTHONPATH=$PYTHONPATH:~/<workspace path>/gnpy/
|
||||||
|
|
||||||
You can specify a different network at the command line as follows. For
|
You can specify a different network at the command line as follows. For
|
||||||
example, to use the CORONET Continental US (CONUS) network defined in `examples/coronet_conus_example.json <examples/coronet_conus_example.json>`_:
|
example, to use the CORONET Continental US (CONUS) network defined in `examples/coronet_conus_example.json <examples/coronet_conus_example.json>`_:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user