[Distutils] setuptools and man pages

P.J. Eby pje at telecommunity.com
Tue Jan 25 23:46:40 CET 2011


At 02:41 PM 1/25/2011 -0700, Andrew McNabb wrote:
>On Tue, Jan 25, 2011 at 03:10:09PM -0500, P.J. Eby wrote:
> >
> > Setuptools has a distutils-compatible installation mode:
> >
> >    "setup.py install --single-version-externally-managed --record=somefile"
> >
> > It's a bit awkward to type, but it should do what you want.
>
>But wouldn't this require all end users to know the incantation?

Well, those who want the man pages, certainly.  ;-)


>Presumably I could add the following to the top of setup.py:
>
>sys.args += ['--single-version-externally-managed', '--record=somefile']
>
>But that seems sort of dirty. :)

It also won't do anything if they're installing via another tool such 
as pip, easy_install, buildout, etc.



More information about the Distutils-SIG mailing list