Skip to content

Commit e67ce8d

Browse files
authored
Update build.sh
1 parent f4d5ab5 commit e67ce8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/postgresml-python/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ echo "Creating Python virtual environment with Python ${PYTHON_VERSION}"
5858
virtualenv --python="python${PYTHON_VERSION}" "$deb_dir/var/lib/postgresml-python/pgml-venv"
5959
source "$deb_dir/var/lib/postgresml-python/pgml-venv/bin/activate"
6060

61+
export SETUPTOOLS_USE_DISTUTILS=stdlib
62+
6163
python -m pip install -r "${deb_dir}/etc/postgresml-python/requirements.txt"
6264

6365
deactivate
@@ -71,4 +73,4 @@ dpkg-deb \
7173
--build "$deb_dir" \
7274
"postgresml-python-${PACKAGE_VERSION}-ubuntu${UBUNTU_VERSION}-${ARCH}.deb"
7375

74-
rm -rf "$deb_dir"
76+
rm -rf "$deb_dir"

0 commit comments

Comments
 (0)