mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
CP-2184 change versioning for python SDK
This commit is contained in:
parent
f079bff20b
commit
99613cb252
@ -3,4 +3,6 @@ current_version = 1.0.0
|
|||||||
commit = False
|
commit = False
|
||||||
tag = False
|
tag = False
|
||||||
|
|
||||||
[bumpversion:glob:*/src/thousandeyes_sdk/client/version.py]
|
[bumpversion:file:thousandeyes-sdk-core/src/thousandeyes_sdk/core/__init__.py]
|
||||||
|
|
||||||
|
[bumpversion:file:thousandeyes-sdk-core/src/thousandeyes_sdk/core/version.py]
|
||||||
|
|||||||
@ -13,6 +13,10 @@ dependencies = [
|
|||||||
"typing-extensions >=4.7.1",
|
"typing-extensions >=4.7.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
where = ["src/"]
|
||||||
|
include = ["thousandeyes_sdk.core"]
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||||
|
|
||||||
|
|||||||
@ -6,4 +6,4 @@ from .version import Version
|
|||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
__version__ = Version.get()
|
__version__ = "1.0.0"
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
import os.path
|
|
||||||
|
|
||||||
class Version:
|
class Version:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get() -> str:
|
def get() -> str:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user