dt-extensions-sdk 1.1.8__py3-none-any.whl → 1.1.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dt-extensions-sdk
3
- Version: 1.1.8
3
+ Version: 1.1.9
4
4
  Project-URL: Documentation, https://github.com/dynatrace-extensions/dt-extensions-python-sdk#readme
5
5
  Project-URL: Issues, https://github.com/dynatrace-extensions/dt-extensions-python-sdk/issues
6
6
  Project-URL: Source, https://github.com/dynatrace-extensions/dt-extensions-python-sdk
@@ -1,7 +1,7 @@
1
- dynatrace_extension/__about__.py,sha256=pm-K9JZTFRwIzFyc-6GXETDQNV0BHdoX979iqLHl_fQ,112
1
+ dynatrace_extension/__about__.py,sha256=jNoLyMOt8_aiMvw5Fehf8n1DwmvYr4lWDzAm0Uj9Zx0,112
2
2
  dynatrace_extension/__init__.py,sha256=XYHyWducrLWengm6jcCZMYAHzaQwQfoJKzKT4QvhTxE,779
3
3
  dynatrace_extension/cli/__init__.py,sha256=eg2YQkeboIfJ_hcUGp1WFEvT-moa2qGGN-L9RjTbxCM,128
4
- dynatrace_extension/cli/main.py,sha256=XPFSKn_4C4S39tEJNm-mOUIjOgw5FmU_a0Prk9ipyUY,16545
4
+ dynatrace_extension/cli/main.py,sha256=NK9LaMvEFonb6FUb8FnDqY9Yziiz0eiQ-7d2HRwr5vU,17163
5
5
  dynatrace_extension/cli/schema.py,sha256=Fiks7vS69M52O3_pvdzkKk2X0zBhE8maforvRY9eUIU,3359
6
6
  dynatrace_extension/cli/create/__init__.py,sha256=_MjYuWPJo7_NbGRqjWZ9DNzkfevz_Br2Yc90__f22yY,73
7
7
  dynatrace_extension/cli/create/create.py,sha256=Wkkp4AuRID18k9EUJdVZ3GP2US35OF5h6jooKJY2CLM,2784
@@ -26,8 +26,8 @@ dynatrace_extension/sdk/vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
26
26
  dynatrace_extension/sdk/vendor/mureq/LICENSE,sha256=_rKBhB1pJYXjxjBCdOSIkv_slxWbhEXVBXXZs1MdpQQ,684
27
27
  dynatrace_extension/sdk/vendor/mureq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  dynatrace_extension/sdk/vendor/mureq/mureq.py,sha256=gKzGiPmZ2g74Nb8K_6bu0f2coWZHZiZ2aXGzG2Pimlg,15102
29
- dt_extensions_sdk-1.1.8.dist-info/METADATA,sha256=elOFKmf7X07WaTo3wPPKqrQKmSRRLP5LBrFo8NcjYQQ,2793
30
- dt_extensions_sdk-1.1.8.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
31
- dt_extensions_sdk-1.1.8.dist-info/entry_points.txt,sha256=pweyOCgENGHjOlT6_kXYaBPOrE3p18K0UettqnNlnoE,55
32
- dt_extensions_sdk-1.1.8.dist-info/licenses/LICENSE.txt,sha256=k7kok_OTpJ5sfb5ANni8wu-Q1lXw8OQjNZXdrTGhFKc,1087
33
- dt_extensions_sdk-1.1.8.dist-info/RECORD,,
29
+ dt_extensions_sdk-1.1.9.dist-info/METADATA,sha256=wiz9rr3TzRlG7n9ybTdbf-6wp7s3DOgmQhyo12QGMDA,2793
30
+ dt_extensions_sdk-1.1.9.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
31
+ dt_extensions_sdk-1.1.9.dist-info/entry_points.txt,sha256=pweyOCgENGHjOlT6_kXYaBPOrE3p18K0UettqnNlnoE,55
32
+ dt_extensions_sdk-1.1.9.dist-info/licenses/LICENSE.txt,sha256=k7kok_OTpJ5sfb5ANni8wu-Q1lXw8OQjNZXdrTGhFKc,1087
33
+ dt_extensions_sdk-1.1.9.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2023-present Dynatrace LLC
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "1.1.8"
4
+ __version__ = "1.1.9"
@@ -79,6 +79,7 @@ def build(
79
79
  extra_index_url: Optional[str] = typer.Option(
80
80
  None, "--extra-index-url", "-i", help="Extra index url to use when downloading dependencies"
81
81
  ),
82
+ find_links: Optional[str] = typer.Option( None, "--find-links", "-f", help="Extra index url to use when downloading dependencies" ),
82
83
  ):
83
84
  """
84
85
  Builds and signs an extension using the developer fused key-certificate
@@ -90,6 +91,7 @@ def build(
90
91
  folder
91
92
  :param extra_platforms: Attempt to also download wheels for an extra platform (e.g. manylinux1_x86_64 or win_amd64)
92
93
  :param extra_index_url: Extra index url to use when downloading dependencies
94
+ :param find_links: Extra index url to use when downloading dependencies
93
95
  """
94
96
  console.print(f"Building and signing extension from {extension_dir} to {target_directory}", style="cyan")
95
97
  if target_directory is None:
@@ -98,7 +100,7 @@ def build(
98
100
  target_directory.mkdir()
99
101
 
100
102
  console.print("Stage 1 - Download and build dependencies", style="bold blue")
101
- wheel(extension_dir, extra_platforms, extra_index_url)
103
+ wheel(extension_dir, extra_platforms, extra_index_url, find_links)
102
104
 
103
105
  console.print("Stage 2 - Create the extension zip file", style="bold blue")
104
106
  built_zip = assemble(extension_dir, target_directory)
@@ -163,6 +165,7 @@ def wheel(
163
165
  extra_index_url: Optional[str] = typer.Option(
164
166
  None, "--extra-index-url", "-i", help="Extra index url to use when downloading dependencies"
165
167
  ),
168
+ find_links: Optional[str] = typer.Option( None, "--find-links", "-f", help="Extra index url to use when downloading dependencies" ),
166
169
  ):
167
170
  """
168
171
  Builds the extension and it's dependencies into wheel files
@@ -171,6 +174,7 @@ def wheel(
171
174
  :param extension_dir: The directory of the extension, by default this is the current directory
172
175
  :param extra_platforms: Attempt to also download wheels for an extra platform (e.g. manylinux1_x86_64 or win_amd64)
173
176
  :param extra_index_url: Extra index url to use when downloading dependencies
177
+ :param find_links: Extra index url to use when downloading dependencies
174
178
  """
175
179
  relative_lib_folder_dir = "extension/lib"
176
180
  lib_folder: Path = extension_dir / relative_lib_folder_dir
@@ -182,6 +186,8 @@ def wheel(
182
186
  command = [sys.executable, "-m", "pip", "wheel", "-w", relative_lib_folder_dir]
183
187
  if extra_index_url is not None:
184
188
  command.extend(["--extra-index-url", extra_index_url])
189
+ if find_links is not None:
190
+ command.extend(["--find-links", find_links])
185
191
  command.append(".")
186
192
  run_process(command, cwd=extension_dir)
187
193
 
@@ -201,6 +207,8 @@ def wheel(
201
207
  ]
202
208
  if extra_index_url:
203
209
  command.extend(["--extra-index-url", extra_index_url])
210
+ if find_links:
211
+ command.extend(["--find-links", find_links])
204
212
  command.append(".")
205
213
 
206
214
  run_process(command, cwd=extension_dir)