error in webdiff setup command: "values of 'package_data' dict" must be a list of strings
Closed this issue · 1 comments
danvk commented
From trying to install on macOS Catalina (10.15.5)
$ pip3 install webdiff
Collecting webdiff
Downloading webdiff-0.14.0.tar.gz (1.4 MB)
|████████████████████████████████| 1.4 MB 1.2 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.8/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h2/l26cvv7n15jczs_qdhbjzsyh0000gp/T/pip-install-6nbam5fo/webdiff/setup.py'"'"'; __file__='"'"'/private/var/folders/h2/l26cvv7n15jczs_qdhbjzsyh0000gp/T/pip-install-6nbam5fo/webdiff/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/h2/l26cvv7n15jczs_qdhbjzsyh0000gp/T/pip-pip-egg-info-mbh6z29j
cwd: /private/var/folders/h2/l26cvv7n15jczs_qdhbjzsyh0000gp/T/pip-install-6nbam5fo/webdiff/
Complete output (1 lines):
error in webdiff setup command: "values of 'package_data' dict" must be a list of strings (got 'webdiff/static/*')
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
mordr commented
I am still getting the error trying to install webdiff on mac (BigSur)
%▶ pip3 install webdiff
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting webdiff
Using cached webdiff-0.15.0-py3-none-any.whl (1.4 MB)
Collecting PyGithub==1.25.2
Using cached PyGithub-1.25.2.tar.gz (2.6 MB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/pygithub_93e8701681984b6b86b737164c98e5e9/setup.py'"'"'; __file__='"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/pygithub_93e8701681984b6b86b737164c98e5e9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-pip-egg-info-q_teuqff
cwd: /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/pygithub_93e8701681984b6b86b737164c98e5e9/
Complete output (1 lines):
error in PyGithub setup command: use_2to3 is invalid.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/de/31/9b172fef8bdd809fe08a73df78782b6aae9d97b1251c602f1293cfd6a99f/PyGithub-1.25.2.tar.gz#sha256=72aee507625e8ce6e3bef825e2ba543d0a2a20cb5ba5edfbe6436fc6eadfcef8 (from https://pypi.org/simple/pygithub/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Collecting webdiff
Using cached webdiff-0.14.0.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_c0851b9dc1004a4c9c92d13d3189c8af/setup.py'"'"'; __file__='"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_c0851b9dc1004a4c9c92d13d3189c8af/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-pip-egg-info-_hjxbdab
cwd: /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_c0851b9dc1004a4c9c92d13d3189c8af/
Complete output (1 lines):
error in webdiff setup command: "values of 'package_data' dict" must be a list of strings (got 'webdiff/static/*')
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c7/cb/1fe2299a7d0e6e8c9ccef84d9f3d3dac489d02db04f9902b6f38dfdb5739/webdiff-0.14.0.tar.gz#sha256=cef8f452efa859846f88a9f24ab52dbe01f930f8b426824a8c74d4027f655e58 (from https://pypi.org/simple/webdiff/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached webdiff-0.13.0.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_3100c1635ced4df1bc0c33a9d43e1bd9/setup.py'"'"'; __file__='"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_3100c1635ced4df1bc0c33a9d43e1bd9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-pip-egg-info-lucuz75i
cwd: /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_3100c1635ced4df1bc0c33a9d43e1bd9/
Complete output (1 lines):
error in webdiff setup command: "values of 'package_data' dict" must be a list of strings (got 'webdiff/static/*')
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/77/ce/3a8cad35c0b08791c9435985e6bf813f65fa0dbd494456e9c1f07c850da4/webdiff-0.13.0.tar.gz#sha256=1e5adcd350f1aa9e4ee7f865f67f6c99504d56377f3cff795328c6423b359e07 (from https://pypi.org/simple/webdiff/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Using cached webdiff-0.12.1.tar.gz (1.4 MB)
Preparing metadata (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_3f50f0f6ba2d46b98a0bb6f2a8beae81/setup.py'"'"'; __file__='"'"'/private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_3f50f0f6ba2d46b98a0bb6f2a8beae81/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-pip-egg-info-ua0bur6_
cwd: /private/var/folders/yh/zv7zl6bd1dx3hqyhgw9tcqzm0000gr/T/pip-install-hm3qbaq1/webdiff_3f50f0f6ba2d46b98a0bb6f2a8beae81/
Complete output (1 lines):
error in webdiff setup command: "values of 'package_data' dict" must be a list of strings (got 'webdiff/static/*')
...
Seems like it tries different versions of webdif but fails on all.
Is there a workaround to installation?