Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Creating an Unsigned Package by Using the Python Packaging Tool

    If you do not include the language python statement, you cannot execute unsigned Python scripts on a device running Junos OS.

    To create an unsigned JET Python application package:

    1. Write the script setup.py.

      The setup.py file is a Python file that usually tells you that the module you are about to install has been packaged and distributed with distutils, which is the standard way to distribute Python modules.

    2. Use the sdist command to create a source distribution and to create a tar gzip package file.
      % python setup.py sdist –formats=gztar

    Modified: 2016-11-16