Fix import metadatalib
This commit is contained in:
parent
4293b9f54f
commit
e795a4c6f8
2
setup.py
2
setup.py
|
@ -169,7 +169,7 @@ extras["test"] = [
|
||||||
extras["dev"] = extras["quality"] + extras["test"] + extras["training"]
|
extras["dev"] = extras["quality"] + extras["test"] + extras["training"]
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
deps["importlib_metadata"] + ";python_version<'3.8'", # importlib_metadata for Python versions that don't have it
|
deps["importlib_metadata"],
|
||||||
deps["filelock"],
|
deps["filelock"],
|
||||||
deps["huggingface-hub"],
|
deps["huggingface-hub"],
|
||||||
deps["numpy"],
|
deps["numpy"],
|
||||||
|
|
|
@ -7,6 +7,7 @@ deps = {
|
||||||
"filelock": "filelock",
|
"filelock": "filelock",
|
||||||
"flake8": "flake8>=3.8.3",
|
"flake8": "flake8>=3.8.3",
|
||||||
"huggingface-hub": "huggingface-hub",
|
"huggingface-hub": "huggingface-hub",
|
||||||
|
"importlib_metadata": "importlib_metadata",
|
||||||
"isort": "isort>=5.5.4",
|
"isort": "isort>=5.5.4",
|
||||||
"numpy": "numpy",
|
"numpy": "numpy",
|
||||||
"pytest": "pytest",
|
"pytest": "pytest",
|
||||||
|
|
Loading…
Reference in New Issue