Installing ansible (setuptools woes)

153 views
Skip to first unread message

Pas

unread,
May 21, 2012, 5:53:04 AM5/21/12
to ansible...@googlegroups.com
Hello!

I have successfully installed ansible, but it unearthed an ugly question regarding setuptools and distutils. I have both installed, but I still get the following error:


/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)


Looking at setup.py, it uses distutils only (no imports from setuptools), but distutils doesn't support install_requires ( http://docs.python.org/distutils/apiref.html#distutils.core.setup ).

I did not want to file a bug on Github just yet, because it could be some problem in my setup. (I'm using ArchLinux, but tried it on a Debian Squeeze too, with similar results.)

So, is this a bug? If not, can someone give some user support? :)

Thanks,
Pas

Michael DeHaan

unread,
May 21, 2012, 8:05:56 AM5/21/12
to ansible...@googlegroups.com
No idea what is going on here with packaging on 2.7.

If someone knows how to fix it, please have at.

Hasn't been reported yet, so I would expect it's ok on newer Fedora and Ubuntu though. (?)

--Michael


On Monday, May 21, 2012 at 5:53 AM, Pas wrote:

Unknown distribution option: 'install_requires'

Reply all
Reply to author
Forward
0 new messages