All python integrations on the AppExchange represent source distributions such as
fn_microsoft_security_graph-1.0.0.tar.gz placed in a .zip file enclosure. In order to add them to your python library environment on your integrations server, this .zip file needs to be unpacked for use by the
pip install command. For some integrations, the unpacked directory structure is a little more involved as in the following example:
$ unzip -l fn_microsoft_security_graph-1.0.0.tar.gz.zip
Archive: fn_microsoft_security_graph-1.0.0.tar.gz.zip
Length Date Time Name
--------- ---------- ----- ----
0 02-28-2019 12:04 fn_microsoft_security_graph-1.0.0.tar.gz/
1491497 02-28-2019 12:03 fn_microsoft_security_graph-1.0.0.tar.gz/fn_microsoft_security_graph-1.0.0.tar.gz
0 02-28-2019 12:05 __MACOSX/
0 02-28-2019 12:05 __MACOSX/fn_microsoft_security_graph-1.0.0.tar.gz/
447 02-28-2019 12:03 __MACOSX/fn_microsoft_security_graph-1.0.0.tar.gz/._fn_microsoft_security_graph-1.0.0.tar.gz
--------- -------
1491944 5 files
In this example, one would reference the distribution file
fn_microsoft_security_graph-1.0.0.tar.gz/fn_microsoft_security_graph-1.0.0.tar.gz in the pip install command. For future publications, the .zip file will only contain the .tar.gz file.
------------------------------
Mark Scherfling
------------------------------