Help!

Where to install non-debianized python modules?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Python RSS
Next:  PMPT membership  
Author Message
Gregor Gorjanc
External


Since: Apr 12, 2007
Posts: 2



PostPosted: Thu Apr 12, 2007 11:40 am    Post subject: Where to install non-debianized python modules?
Archived from groups: linux>debian>maint>python (more info?)

Hello!

I am a total newbie to Python and I am confused with installation of
non-debianized python modules? I am trying to install PyPedal[1] module.
It has several dependencies and I have found most of them as debian
packages for which I am really grateful to you folks! I am left with a
list of three modules that are not debianized i.e.: pythondoc, testoob
and PyPedal. How should these be installed so that I will not mess up my
Debian installation? If I simply use the following

wget
http://puzzle.dl.sourceforge.net/sourceforge/pypedal/PyPedal-2.0.0b21.tar.gz

## This should be now general
tar -xzvvf PyPedal-*
cd PyPedal-*
python setup.py install

I will end up with messing the system stuff. Which flag should I use
--home, --debian, --prefix, ... to properly separate local installation.

I appologize if this is trivial, but I was not able to find any relevant
info on the web.

Thank you!

[1]http://pypedal.sourceforge.net/

--
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana PhD student
Biotechnical Faculty www: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department blog: http://ggorjan.blogspot.com
Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si
SI-1230 Domzale fax: +386 (0)1 72 17 888
Slovenia, Europe tel: +386 (0)1 72 17 861
----------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-python-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Sam Morris
External


Since: Nov 15, 2004
Posts: 401



PostPosted: Thu Apr 12, 2007 12:41 pm    Post subject: Re: Where to install non-debianized python modules? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 12 Apr 2007 10:11:34 +0200, Gregor Gorjanc wrote:
> I am a total newbie to Python and I am confused with installation of
> non-debianized python modules? I am trying to install PyPedal[1] module.
> It has several dependencies and I have found most of them as debian
> packages for which I am really grateful to you folks! I am left with a
> list of three modules that are not debianized i.e.: pythondoc, testoob
> and PyPedal. How should these be installed so that I will not mess up my
> Debian installation? If I simply use the following
>
> wget
> http://puzzle.dl.sourceforge.net/sourceforge/pypedal/
PyPedal-2.0.0b21.tar.gz
>
> ## This should be now general
> tar -xzvvf PyPedal-*
> cd PyPedal-*
> python setup.py install
>
> I will end up with messing the system stuff. Which flag should I use
> --home, --debian, --prefix, ... to properly separate local installation.
>
> I appologize if this is trivial, but I was not able to find any relevant
> info on the web.
>
> Thank you!
>
> [1]http://pypedal.sourceforge.net/

Try: python setup.py --prefix=/usr/local

More info is available in "Installing Python Modules", available at /usr/
share/doc/python/html/inst/ if you install the python-doc package, or
online at <http://docs.python.org/inst/inst.html>.

Regards,

--
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078


--
To UNSUBSCRIBE, email to debian-python-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Gregor Gorjanc
External


Since: Apr 12, 2007
Posts: 2



PostPosted: Thu Apr 12, 2007 1:50 pm    Post subject: Re: Where to install non-debianized python modules? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Corey Wright wrote:
>> More info is available in "Installing Python Modules", available at /usr/
>> share/doc/python/html/inst/ if you install the python-doc package, or
>> online at <http://docs.python.org/inst/inst.html>.
>
> specifically see section "3.2 Alternate installation: Unix (the prefix
> scheme)"
> http://docs.python.org/inst/alt-install-windows.html#SECTION0003200000...0000000
> which recommends the command Sam suggested (e.g. "/usr/bin/python setup.py
> install --prefix=/usr/local").

Thanks to Sam and Corey!

--
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana PhD student
Biotechnical Faculty www: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department blog: http://ggorjan.blogspot.com
Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si
SI-1230 Domzale fax: +386 (0)1 72 17 888
Slovenia, Europe tel: +386 (0)1 72 17 861
----------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-python-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Bernd Zeimetz
External


Since: Jul 17, 2006
Posts: 228



PostPosted: Thu Apr 12, 2007 2:10 pm    Post subject: Re: Where to install non-debianized python modules? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Heya,
>
> Try: python setup.py --prefix=/usr/local
>
> More info is available in "Installing Python Modules", available at /usr/
> share/doc/python/html/inst/ if you install the python-doc package, or
> online at <http://docs.python.org/inst/inst.html>.
>
and if you want to avoid a messy /usr/local, consider to use stow to
manage it.


As this module seems to be pretty useful for you should also consider to
post a RFP (request for packaging) bug against the pseudo-package wnpp
(see [1]). I'm quite happy that you've posted the link to pypedal, as I
was searching for such modules for a new open source project, so I'm
probably willing to package it, but as I won't find the time to work
myself into the whole theme, test the module and package it. If you send
in a RFP, probably somebody else will package it, or I'll have a look at
it when I start with the project - which won't be this summer.


Cheers,

Bernd

[1]: http://www.debian.org/devel/wnpp/#l1

--
Bernd Zeimetz
<bernd.DeleteThis@bzed.de> <http://bzed.de/>


--
To UNSUBSCRIBE, email to debian-python-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Python All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum