distutils

Bryan belred1 at yahoo.com
Wed Aug 20 09:56:21 EDT 2003


"Michael Hudson" <mwh at python.net> wrote in message news:7h3y8xo4q1v.fsf at pc150.maths.bris.ac.uk...
> "Bryan" <belred1 at yahoo.com> writes:
>
> > what is the correct way to pass custom values to a distutil's setup
> > script?  i'd like to pass on the command line the libraries_dir
> > path.  should i just parse it out from sys.argv?
>
> Um, most options already have an associated command line option...
> doesn't the --install-dir option to install_lib do what you want?
>

it doesn't work for the library_dirs

setup.py install --library_dir=".."
error: option --library-dirs not recognized

or

setup.py --library_dir=".." install
error: option --library-dirs not recognized

> Cheers,
> mwh
>
> -- 
>   Presumably pronging in the wrong place zogs it.
>                                         -- Aldabra Stoddart, ucam.chat






More information about the Python-list mailing list