diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 73334b651bfe0d33973eac25ad84fd15c9dbcbd5..47e64afb16c57e9a16f873c6c70987c82732457c 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -24,6 +24,7 @@ if [ -z ${BRANCH} ]; then BRANCH="develop" fi + function print_usage() { echo -e "\n${RED}Usage${NONE}: ${BOLD}${SCRIPT_NAME}${NONE} [OPTION]" diff --git a/setup.py b/setup.py index 6e77373acf54034d42a971018300b0d6925ccf48..6d088750a60b00c35fd1ee1f6a5ca639e41833dd 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ from setuptools import Command, Extension, setup from setuptools.command.egg_info import egg_info from setuptools.command.install import install as InstallCommandBase from setuptools.command.install_lib import install_lib +from setuptools.dist import Distribution if sys.version_info < (3, 7): raise RuntimeError(