Comment 8 for bug 1217288

Revision history for this message
paul luse (paul-e-luse) wrote :

baah, mine is still messed up. I tried reinstalling a few other things last night and get a different error now. Will look it at closer after another cup of coffee

sudo pip install -r requirements.txt
Downloading/unpacking pbr>=0.5.21,<1.0 (from -r requirements.txt (line 1))
  Downloading pbr-0.5.21.tar.gz (123kB): 123kB downloaded
  Running setup.py egg_info for package pbr
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
      warnings.warn(msg)
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
      warnings.warn(msg)
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
      warnings.warn(msg)
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
      warnings.warn(msg)
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require'
      warnings.warn(msg)
    [pbr] Processing SOURCES.txt
    warning: LocalManifestMaker: standard file '-c' not found

    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip_build_root/pbr/setup.py", line 22, in <module>
        **util.cfg_to_args())
      File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "<string>", line 14, in replacement_run
      File "pbr/packaging.py", line 582, in find_sources
        mm.run()
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 327, in run
        self.add_defaults()
      File "pbr/packaging.py", line 548, in add_defaults
        sdist.sdist.add_defaults(self)
      File "/usr/local/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 225, in add_defaults
        if not self.distribution.include_package_data:
    AttributeError: Distribution instance has no attribute 'include_package_data'
    Complete output from command python setup.py egg_info:
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'

  warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'

  warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'

  warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'

  warnings.warn(msg)

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require'

  warnings.warn(msg)

running egg_info

creating pip-egg-info/pbr.egg-info

[pbr] Processing SOURCES.txt

writing manifest file 'pip-egg-info/pbr.egg-info/SOURCES.txt'

warning: LocalManifestMaker: standard file '-c' not found

Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip_build_root/pbr/setup.py", line 22, in <module>

    **util.cfg_to_args())

  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup

    dist.run_commands()

  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

    self.run_command(cmd)

  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

    cmd_obj.run()

  File "<string>", line 14, in replacement_run

  File "pbr/packaging.py", line 582, in find_sources

    mm.run()

  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 327, in run

    self.add_defaults()

  File "pbr/packaging.py", line 548, in add_defaults

    sdist.sdist.add_defaults(self)

  File "/usr/local/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 225, in add_defaults

    if not self.distribution.include_package_data:

AttributeError: Distribution instance has no attribute 'include_package_data'

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