Skip to content

Commit 2579e8f

Browse files
authored
support FastDeploy version setting (#2725)
1 parent 91528f1 commit 2579e8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,11 @@ def get_name():
169169

170170
cmdclass_dict = {'bdist_wheel': CustomBdistWheel}
171171
cmdclass_dict['build_ext'] = CMakeBuild
172+
FASTDEPLOY_VERSION = os.environ.get("FASTDEPLOY_VERSION", "2.0.0")
172173

173174
setup(
174175
name=get_name(),
175-
version="2.0.0",
176+
version=FASTDEPLOY_VERSION,
176177
author="PaddlePaddle",
177178
author_email="[email protected]",
178179
description="FastDeploy: Large Language Model Serving.",

0 commit comments

Comments
 (0)