From 2579e8fea8984983de016be3e25d9cd73a20e6cb Mon Sep 17 00:00:00 2001 From: YUNSHEN XIE <1084314248@qq.com> Date: Mon, 7 Jul 2025 14:50:11 +0800 Subject: [PATCH] support FastDeploy version setting (#2725) --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 48cc2eaf5..6957270df 100644 --- a/setup.py +++ b/setup.py @@ -169,10 +169,11 @@ def get_name(): cmdclass_dict = {'bdist_wheel': CustomBdistWheel} cmdclass_dict['build_ext'] = CMakeBuild +FASTDEPLOY_VERSION = os.environ.get("FASTDEPLOY_VERSION", "2.0.0") setup( name=get_name(), - version="2.0.0", + version=FASTDEPLOY_VERSION, author="PaddlePaddle", author_email="dltp@baidu.com", description="FastDeploy: Large Language Model Serving.",