evanlabs / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

gyp cannot be installed with pip #307

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run "pip install svn+http://gyp.googlecode.com/svn/trunk/#egg=gyp" (or run 
pip install on a working copy or downloaded tarball)

What is the expected output? What do you see instead?

Installing collected packages: gyp
  Running setup.py install for gyp
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help

    error: option --single-version-externally-managed not recognized

What version of the product are you using? On what operating system?

svn head

Please provide any additional information below.

Pip is being kind of weird here, but it turns out that what it's choking on is 
the "cmdclass" setting in setup.py.  Fortunately that setting is redundant as 
far as I can tell - the commands in distutils.command are there by default.  If 
you remove the cmdclass setting then pip install works.

Original issue reported on code.google.com by ben.darn...@gmail.com on 4 Dec 2012 at 5:45

GoogleCodeExporter commented 9 years ago
Patch attached.

Original comment by ben.darn...@gmail.com on 10 Apr 2013 at 10:18

Attachments: