Skip to content

Commit 9366868

Browse files
Adds LICENSE file to tensorflow-serving-api python package.
It is recommended to include LICENSE file in the package.[1] But tensorflow-serving-api doesn't have one in it. We need LICENSE file and recent versions of `wheel` will automatically pickup LICENSE file in local directory. [1] https://packaging.python.org/tutorials/packaging-projects/#creating-a-license PiperOrigin-RevId: 343562364 (cherry picked from commit 2b276fc)
1 parent c48d83c commit 9366868

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tensorflow_serving/tools/pip_package/build_pip_package.sh

-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,8 @@ function main() {
7272

7373
echo "Adding package setup files"
7474
cp ${PIP_SRC_DIR}/setup.py "${TMPDIR}"
75-
cp LICENSE "${TMPDIR}"
7675

7776
pushd "${TMPDIR}"
78-
python3 -m pip install --upgrade wheel -q
7977
echo $(date) : "=== Building wheel (CPU)"
8078
python3 setup.py bdist_wheel --universal \
8179
--project_name tensorflow-serving-api # >/dev/null

0 commit comments

Comments
 (0)