Re-apply #4446 + add packaging dependency

As discussed w/ @lysandrejik

packaging is maintained by PyPA (the Python Packaging Authority), and should be lightweight and stable
This commit is contained in:
Julien Chaumond
2020-05-22 17:27:47 -04:00
parent e6aeb0d3e8
commit 2c1ebb8b50
2 changed files with 9 additions and 1 deletions

View File

@@ -111,6 +111,8 @@ setup(
"tokenizers == 0.7.0",
# dataclasses for Python versions that don't have it
"dataclasses;python_version<'3.7'",
# utilities from PyPA to e.g. compare versions
"packaging",
# filesystem locks e.g. to prevent parallel downloads
"filelock",
# for downloading models over HTTPS