cmheisel / nose-xcover

Fork of nose.plugins.cover that enables XML output (for use with Hudson, e.g.)
MIT License
52 stars 17 forks source link

nosexcover-1.0.10 fails to install with latest distribute (0.7.3) #25

Closed mriedem closed 9 years ago

mriedem commented 9 years ago

[root@rhel62 tempest]# pip show distribute setuptools

Name: distribute Version: 0.7.3 Location: /usr/lib/python2.6/site-packages

Requires: setuptools

Name: setuptools Version: 0.6rc11 Location: /usr/lib/python2.6/site-packages Requires: [root@rhel62 tempest]#

Downloading/unpacking nosexcover Downloading nosexcover-1.0.10.tar.gz Running setup.py egg_info for package nosexcover /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'entry_points' warnings.warn(msg) /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help

error: invalid command 'egg_info'
Complete output from command python setup.py egg_info:
/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'entry_points'

warnings.warn(msg)

/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'include_package_data'

warnings.warn(msg)

/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'zip_safe'

warnings.warn(msg)

/usr/lib64/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'install_requires'

warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

or: -c --help [cmd1 cmd2 ...]

or: -c --help-commands

or: -c cmd --help

error: invalid command 'egg_info'


Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/nosexcover Storing complete log in /root/.pip/pip.log

mriedem commented 9 years ago

Nevermind, this was an issue with distribute/setuptools, I had to re-install them using easy_install, got the tips from here:

http://neathack.info/questions/python-pip-install-fails-invalid-command-egg_info