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 (#18)
* CP-2184 change versioning for python SDK * CP-2184 use single version
This commit is contained in:
parent
f079bff20b
commit
5ed40a2ae7
@ -3,4 +3,4 @@ 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]
|
||||||
|
|||||||
@ -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,6 +1,6 @@
|
|||||||
import os.path
|
import thousandeyes_sdk.core
|
||||||
|
|
||||||
class Version:
|
class Version:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get() -> str:
|
def get() -> str:
|
||||||
return "1.0.0"
|
return thousandeyes_sdk.core.__version__
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user