prayagverma / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

Unknown distribution option: 'install_requires' #615

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Run "python setup.py build"

What is the expected output? What do you see instead?
The build should go without any warnings.
I see this warning message:

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

What version of the product are you using?
gdata 2.0.17

Original issue reported on code.google.com by Mitya57 on 7 May 2012 at 9:39

GoogleCodeExporter commented 9 years ago
ditto. I'm on Mac Lion

Original comment by dan...@gmail.com on 27 Jun 2012 at 7:52

GoogleCodeExporter commented 9 years ago
have either of you found a solution for this?   i'm having this problem on 
python 2.7.3, osx 10.6.8

Original comment by Svidasul...@gmail.com on 12 Aug 2012 at 1:06

GoogleCodeExporter commented 9 years ago
Just comment that line out of the setup call and install the dependencies 
manually.

Original comment by afs...@google.com on 13 Aug 2012 at 1:54

GoogleCodeExporter commented 9 years ago
From elsewhere I found this workaround:

change

from distutils.core import setuptools

to

try:
  from setuptools import setup
except ImportError:
  from distutils.core import setup

typically in setup.py.

Original comment by Havard.E...@gmail.com on 2 Sep 2014 at 1:53