Hi,
On Sat, 25 Mar 2006, Andre Wobst wrote:
> Hi,
>
> On 24.03.06, Arnd Baecker wrote:
> > > The following line installs pyx in the current directory
> > >
> > > ./setup.py install --root=`pwd` --install-data=/ --install-lib=/
> > >
> > > I have written this line into my setup.cfg long times ago and always
> > > use it when installing pyx anew.
> >
> > Thanks a lot - works perfect!
>
> Regarding the /etc/pyxrc you only need the install-data option.
Alright, the following also worked fine for me
export PYX_DIR=/where_to_put_the_result
./setup.py install --prefix=$PYX_DIR --install-data=$PYX_DIR
export PYTHONPATH=$PYX_DIR/lib/python2.3/site-packages:$PYTHONPATH
> And
> that's documented in the INSTALL file, which I think is the Right
> Thing (tm).
Seems to be one of those cases where I left out the step of reading
the documentation and called the support line directly ...
> I think, the install-lib feature is nothing we should take
> care when documenting in the INSTALL, since that's something
> absolutely standard in setup.py and it's not the common case we should
> take care documenting.
>
> Last but not least you may have a look in the INSTALL and learn about
> using PyX without installing it at all. You can build extension
> modules in-place and than PyX can be run without installation at all.
> That's by the way the solution we're using in PyX development (and I
> myself never install PyX system-wide to don't get confused by
> different versions laying around).
This looks even better ;-)
Many thanks,
Arnd
|