We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35a602 commit 1fd6776Copy full SHA for 1fd6776
src/_bentoml_sdk/images.py
@@ -247,8 +247,10 @@ def _freeze_python_requirements(
247
req.name and req.name.lower() == "bentoml" and req.link is not None
248
for req in requirements_file.requirements
249
)
250
+ src_wheels = bento_fs / "src/wheels"
251
wheels_folder = py_folder.joinpath("wheels")
- wheels_folder.mkdir(parents=True, exist_ok=True)
252
+ if src_wheels.exists():
253
+ shutil.move(src_wheels, wheels_folder)
254
255
with requirements_in.open("w") as f:
256
f.write(requirements_file.dumps(preserve_one_empty_line=True))
0 commit comments