isounidecode installs cleanly via pip, but doing easy_install isounidecode (which is the default way for python setup.py test to install requirements that are not installed globally) yields a weird error:
File "/var/folders/12/bfp6rngs3gl1d3h2hdg_dzn00000gn/T/easy_install-prMA7H/isounidecode-0.3/setup.py", line 48, in <module>
install_requires = ['cffi']
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 209, in run
os.path.join(archive_root, 'EGG-INFO'), self.zip_safe()
File "/usr/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 245, in zip_safe
return analyze_egg(self.bdist_dir, self.stubs)
File "/usr/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 355, in analyze_egg
safe = scan_module(egg_dir, base, name, stubs) and safe
File "/usr/local/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 392, in scan_module
code = marshal.load(f)
ValueError: bad marshal data (unknown type code)
There's an easy workaround (simply install the package via pip) but it's nonetheless weird.
This is because __pycache__ is being included in the sdist and Python 2.7 can't read those files. pip ignores those files regardless for whatever reason. I'll submit a PR to resolve this issue.
isounidecode installs cleanly via pip, but doing
easy_install isounidecode
(which is the default way forpython setup.py test
to install requirements that are not installed globally) yields a weird error:There's an easy workaround (simply install the package via pip) but it's nonetheless weird.