Hello,
The description field for the 'munge' package on pypi.python.org currently contains a tuple instead of a string. This breaks the ability to install munge via pip and probably other tools that depend on distutils:
https://pypi.python.org/pypi/munge
Collecting munge>=0.1.5 (from peeringdb)
Using cached munge-0.1.7.tar.gz
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/munge.egg-info
writing requirements to pip-egg-info/munge.egg-info/requires.txt
writing pip-egg-info/munge.egg-info/PKG-INFO
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-1y612dq6/munge/setup.py", line 26, in
zip_safe=False
File "/usr/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 186, in run
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
File "/usr/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 397, in write_pkg_info
metadata.write_pkg_info(cmd.egg_info)
File "/usr/lib/python3.4/distutils/dist.py", line 1108, in write_pkg_info
self.write_pkg_file(pkg_info)
File "/usr/lib/python3.4/distutils/dist.py", line 1129, in write_pkg_file
long_desc = rfc822_escape(self.get_long_description())
File "/usr/lib/python3.4/distutils/util.py", line 470, in rfc822_escape
lines = header.split('\n')
AttributeError: 'tuple' object has no attribute 'split'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1y612dq6/munge/
I have a proposed fix that you are welcome to merge from
FliesLikeABrick@e8c62c0
Or if you provide me with push access, I'll gladly push it to a branch and open a PR against your munge repo.
PS I am opening this issue with you because 20c is listed as the author of the package on pypi.python.org: https://pypi.python.org/pypi/munge