poetry-plugin-ivcap 0.2.5__tar.gz → 0.2.6__tar.gz

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.3
2
2
  Name: poetry-plugin-ivcap
3
- Version: 0.2.5
3
+ Version: 0.2.6
4
4
  Summary: A custom Poetry command for IVCAP deployments
5
5
  License: MIT
6
6
  Author: Max Ott
@@ -61,10 +61,16 @@ Configurable options in pyproject.toml:
61
61
 
62
62
  def handle(self):
63
63
 
64
+ sub = self.argument("subcommand")
65
+ if sub == "version":
66
+ #v = poetry.get_plugin('ivcap').version
67
+ v = version("poetry-plugin-ivcap")
68
+ print(f"IVCAP plugin (version {v})")
69
+ return
70
+
64
71
  poetry = self.application.poetry
65
72
  data = poetry.pyproject.data
66
73
 
67
- sub = self.argument("subcommand")
68
74
  args = self.argument("args")
69
75
  is_silent = self.option("silent")
70
76
 
@@ -86,11 +92,6 @@ Configurable options in pyproject.toml:
86
92
  print(sid)
87
93
  elif sub == "tool-register":
88
94
  tool_register(data, self.line)
89
- elif sub == "version":
90
- #v = poetry.get_plugin('ivcap').version
91
- v = version("poetry-plugin-ivcap")
92
- print(f"IVCAP plugin (version {v})")
93
- return
94
95
 
95
96
  else:
96
97
  if not (sub == None or sub == "help"):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "poetry-plugin-ivcap"
3
- version = "0.2.5"
3
+ version = "0.2.6"
4
4
  description = "A custom Poetry command for IVCAP deployments"
5
5
  authors = ["Max Ott <max.ott@csiro.au>"]
6
6
  license = "MIT"