[openstack-dev] [all] UserWarning: Unknown distribution option: 'pbr'

Li Tianqing jazeltq at 163.com
Thu Nov 27 01:59:18 UTC 2014


Hello,
   I write a module to extend openstack. When install by python setup.py develop, it always blame this
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'pbr'
  warnings.warn(msg)
running develop
running egg_info
creating UNKNOWN.egg-info
writing UNKNOWN.egg-info/PKG-INFO
writing top-level names to UNKNOWN.egg-info/top_level.txt
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/UNKNOWN.egg-link (link to .)
Adding UNKNOWN 0.0.0 to easy-install.pth file


Installed /home/vagrant/rainflow
Processing dependencies for UNKNOWN==0.0.0
Finished processing dependencies for UNKNOWN==0.0.0






I do not know why the egg is UNKNOWN, and why the pbr option is unknown? i write the name in setup.cfg,
[metadata]
name = rainflow


the setup.py is 
root at test:/home/vagrant/rainflow# cat setup.py
#!/usr/bin/env python
import setuptools


setuptools.setup(
    setup_requires=['pbr'],
    pbr=True)




root at test:/home/vagrant/rainflow# pip list | grep setup
setuptools (7.0)
root at test:/home/vagrant/rainflow# pip list | grep pip
pip (1.5.6)


Did some one met similar problems? Thanks.....


--
Best
    Li Tianqing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141127/7e948c0e/attachment.html>


More information about the OpenStack-dev mailing list