dynatrace-extensions / dt-extensions-python-sdk

Dynatrace Python Extensions SDK
https://dynatrace-extensions.github.io/dt-extensions-python-sdk/
MIT License
8 stars 2 forks source link

Protect the version check from yaml, use extension version on startup #53

Closed dlopes7 closed 1 month ago

dlopes7 commented 1 month ago

This makes two changes:

  1. Puts the setup.py logic that parses extension.yaml in a try catch, to make it work nice with tools that attempt to parse setup.py but are not pip, like snyk
  2. Uses the version from activation.json or the activation config to print the log message when starting the extension