View Single Post

   
  #12 (permalink)  
Old 02-21-2008, 05:33 AM
Henrik Carlqvist
 
Posts: n/a
Default Re: Installing python modules from source in Slackware 12

Jeffrey Froman <jeffrey@fro.man> wrote:
> It is highly unlikely that mercurial installed to *both* /usr/lib
> and /usr/local/lib on its own. More likely, the installation was run twice,
> using each of two python executables.


When I now look back at how mercurial was installed I see that the source
package contains both a setup.py and a Makefile. My standardized
installation does the following:

if [ -f Makefile ]; then make install; else true; fi && \
if [ -f makefile ]; then make install; else true; fi && \
if [ -f setup.py ]; then python setup.py install; else true; fi && \
true

So, in this case my guess is that both "python setup.py install" and "make
install" was run. With their default settings they probably did choose to
install in different directories.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

Reply With Quote