Skip to content

Commit

Permalink
Downgrade tqdm version to 4.19 for py2.7 (pytorch#542)
Browse files Browse the repository at this point in the history
* reduce tqdm version to 4.19 for py2.7 to avoid spurious error

* Update setup.py

* Missed =

* Update wrong version string
  • Loading branch information
vishwakftw authored and varunagrawal committed Jul 23, 2018
1 parent 3d22cf3 commit 22be524
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def find_version(*file_paths):
'numpy',
'six',
'torch',
'tqdm'
]


Expand Down Expand Up @@ -85,6 +84,9 @@ def get_extensions():
pillow_req = 'pillow-simd' if get_dist('pillow-simd') is not None else 'pillow'
requirements.append(pillow_req + pillow_ver)

tqdm_ver = ' == 4.19.9' if sys.version_info[0] < 3 else ''
requirements.append('tqdm' + tqdm_ver)

setup(
# Metadata
name='torchvision',
Expand Down

0 comments on commit 22be524

Please sign in to comment.