[Distutils] Trouble installing Myghty with --prefix
Phillip J. Eby
pje at telecommunity.com
Thu Dec 1 03:10:19 CET 2005
At 07:39 PM 11/30/2005 -0600, skip at pobox.com wrote:
> >> python setup.py install --prefix=/usr/local/mojam
> >>
> >> again. Same result.
>
> ...
>
> pje> In the meantime, you should be able to just do:
>
> pje> python setup.py easy_install .
>
> pje> in order to do the installation, whether you use distutils.cfg or
> pje> ~/.pydistutils.cfg.
>
>That seems to have worked. I can now "import myghty". Much thanks for your
>patient help.
And thanks for your bug report. The SVN version of setuptools now fixes
this problem, so that "setup.py install" honors any configuration file
settings for the "easy_install" command.
I'll also be refactoring the "non-root installation" docs to be a more
general section on "Customizing Installation Locations", with a sub-heading
on non-root installations, and add in more stuff about the site hack, .pth
transitivity, etc. I kind of hate to make the docs more complex, but oh
well. I'll also be adding a "What Your Users Should Know" section to the
setuptools manual that will cross-reference to all that, so that authors of
setuptools-based packages can direct people to a single link.
More information about the Distutils-SIG
mailing list