Skip to content

Commit

Permalink
There is no need to use "pip install --upgrade" when using ">=version".
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 190043960
  • Loading branch information
TensorFlow Hub Authors authored and andresusanopinto committed Mar 22, 2018
1 parent fce0b60 commit e392231
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ upgrade](https://www.tensorflow.org/install/) your TensorFlow package past
1.7.0rc0. For instance:

```bash
$ pip install --upgrade "tensorflow>=1.7.0rc0"
$ pip install --upgrade tensorflow-hub
$ pip install "tensorflow>=1.7.0rc0"
$ pip install tensorflow-hub
```

This section will be updated to include a specific TensorFlow version
Expand Down
3 changes: 2 additions & 1 deletion tensorflow_hub/pip_package/build_pip_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ function main() {

# Require wheel for bdist_wheel command, and setuptools 36.2.0+ so that
# env markers are handled (https://github.com/pypa/setuptools/pull/1081)
pip install -U wheel setuptools>=36.2.0
pip install wheel -U
pip install "setuptools>=36.2.0"
echo $(date) : "=== Building universal python wheel in $PWD"
python setup.py bdist_wheel --universal >/dev/null
mkdir -p ${DEST}
Expand Down

0 comments on commit e392231

Please sign in to comment.