On Thu, Mar 25, 2010 at 12:20 AM, Robert Kern <robert.k...@gmail.com> wrote:
[??]
> The problem with doing that currently is that distutils complains when it
> receives an option that it doesn't recognize.

No because these are options you pass to easy_install only in your
distutils.cfg file:

  [easy_install]
  foo=bar

  [bdist_rpm]
  baz=1
  ...

> Packages that do not use
> setuptools will fail if you try to provide setuptools-specific
> configuration:
>
> $ python setup.py install
> running install
> error: error in /Users/rkern/.pydistutils.cfg: command 'install' has no such
> option 'single_version_externally_managed'

You need to use [easy_install] in your  .pydistutils.cfg, not [install].

The easy_install command is called internally by the install command
in distribute/setuptools.

Meaning that the options will be read and used transparently.

Regards
Tarek

-- 
Tarek Ziadé | http://ziade.org
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to