Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
Target release2.0
Epic
Jira Legacy
serverJIRA (senbox.atlassian.net)
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId34c99a62-e5be-31ca-898a-01c2aded1b99
keySNAP-79
Document status
Status
titleDRAFT
Document owner

Former user (Deleted)

DesignerFormer user (Deleted)
DevelopersFormer user (Deleted), Marco Peters
QA@Olga Faber

...

User interaction and design

A user's Python code may be loaded from Python extension module is a JAR file or directory which must contain a plain text file META-INF/snappy.def which lists all Python extensions contained in the modulePython extension modules are found in the following locations:

  • <module-jar-file>   the a module JAR file
  • ${user.home}/.snap/snappy/ext/*    the directories in directory snappy/ext in the SNAP user directory
  • ${snap.snappy.ext}   from the directory paths given in the special system property property snap.snappy.ext

A Python extension module must contain a plain text file META-INF/snappy.def which lists all Python extensions contained in the module. In this file, a line are either empty, is a comment line The text file snappy.def contains either empty lines, comment lines starting with the '#' character, or is a line lines declaring a Python extension as follows:

[<ext-rel-path>/]<ext>      ExtClassName

...

[<ext-rel-path>/]

<ext>.py   contains the Python extension ExtClassName  

<ext>-info.xml   contains the operator metadata such as processing parameter definitions (for GPF operators only)

Questions

Below is a list of questions to be addressed as a result of this requirements document:

...