From a1fbdfef6017593df9425c9e8ecd0a0160b28490 Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Sat, 2 Apr 2022 16:27:25 +0800 Subject: [PATCH] Change scm version scheme to support 2.1.0.devx (#940) Signed-off-by: XuanYang-cn --- setup.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 6886fb648..1706b7f1f 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,5 @@ import pathlib import setuptools -from datetime import datetime -import re HERE = pathlib.Path(__file__).parent @@ -12,7 +10,7 @@ author='Milvus Team', author_email='milvus-team@zilliz.com', setup_requires=['setuptools_scm'], - use_scm_version={'local_scheme': 'no-local-version'}, + use_scm_version={'local_scheme': 'no-local-version', 'version_scheme': 'release-branch-semver'}, description="Python Sdk for Milvus", long_description=README, long_description_content_type='text/markdown',