How can I install TIPCommon Library in a custom integration ?
Hi Alan, Here is my recommendation
1. You can look at one of the commercial integrations in the Marketplace -> Download Trend Vision integration for example that has the required TIP Common library version. The latest is 1.0.12.
2. Export the integration via the IDE to your local computer
3. Open the dependencies folder and locate the TIP Common package
4. Navigate to the integration you wanted to add this dependency to, press the configuration icon
5. On the script dependencies section in the Configuration , press the '+' icon to add a dependency
6. Add the TIP Common package
7. The end result should look like this:
I add TIPCommon-1.1.5.2-py2.py3-none-any.whl but I cannot save
it error occured.
Hi @thida TIPCommon library has prerequisites that's needs to be installed together with it.
Therefore, I would recommend you to:
1. Find newest updated integration in Marketplace;
2. Install it from Marketplace;
3. Export it using IDE;
4. Unzip and find folder with all dependencies (.whl files)
5. Import all of them to your custom integration
Hard way would be to figure out which dependencies are necessary and which not.
Thanks a lot,I could added "TIPCommon" in script dependencies successfully.😊
Are you able to tell us what dependencies it requires? Trying to keep things as lean as possible in our environment.
Here's an example for TIPCommon 2.0.1:
Requires-Dist: google-api-python-client
Requires-Dist: google-auth
Requires-Dist: google-auth-httplib2
Requires-Dist: httpx
Requires-Dist: pycryptodome
Requires-Dist: requests
You can find it by renaming TIPCommon with specific version from .whl to .zip, unzipping it and checking METADATA file in TIPCommon-version.dist-info (for example: TIPCommon-2.0.1.dist-info/METADATA)
Awesome thank you!