Re: [protobuf] 'python setup.py test' failed

2010-11-09 Thread Kenton Varda
I haven't seen this problem, but my wild guess is that for some reason your
environment is using distutils instead of setuptools.  They are similar, but
distutils lacks some features, such as the "test" command.  I'm not sure why
this would happen, though.

On Tue, Nov 9, 2010 at 1:05 AM, cy  wrote:

> As told in protobuf-2.3.0/python/README.TXT, I run '$python setup.py
> test'. However failed as bellow:
>
>
> /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
> distribution option: 'namespace_packages'
>  warnings.warn(msg)
> /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
> distribution option: 'test_suite'
>  warnings.warn(msg)
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>   or: setup.py --help [cmd1 cmd2 ...]
>   or: setup.py --help-commands
>   or: setup.py cmd --help
>
> error: invalid command 'test'
>
>
> What's the problem?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] 'python setup.py test' failed

2010-11-09 Thread cy
As told in protobuf-2.3.0/python/README.TXT, I run '$python setup.py
test'. However failed as bellow:


/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
distribution option: 'namespace_packages'
  warnings.warn(msg)
/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown
distribution option: 'test_suite'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'


What's the problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.