Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is output.py a gentoo module?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
telex4
l33t
l33t


Joined: 21 Sep 2002
Posts: 704
Location: Reading, UK

PostPosted: Fri Jun 20, 2003 5:12 pm    Post subject: is output.py a gentoo module? Reply with quote

I've been using a Python module called "output" in my app QuickRip, which I found when reading through the Portage code. Lots of non-Gentoo users don't have it, it's not a standard Python lib and I can't find anything about it on Google. So is it a Gentoo module, or can someone point me to who wrote it, and how I can package it with my app?
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Fri Jun 20, 2003 5:37 pm    Post subject: Reply with quote

Check the headers:

/usr/lib/python2.2/site-packages/output.py

I don't think you'd need to do anything special to package it with your application. Did you have a specific problem when you tried?
Back to top
View user's profile Send private message
telex4
l33t
l33t


Joined: 21 Sep 2002
Posts: 704
Location: Reading, UK

PostPosted: Fri Jun 20, 2003 6:33 pm    Post subject: Reply with quote

I've not tried yet, and I haven't got access to a machine with Python on it for the next few weeks, but I just thought I'd check how easy it would be... just a matter of copying the module to python's directory, correct?
Back to top
View user's profile Send private message
haceye
Apprentice
Apprentice


Joined: 22 May 2003
Posts: 187
Location: Stuttgart, Germany

PostPosted: Fri Jun 20, 2003 6:56 pm    Post subject: Reply with quote

telex4 wrote:
I've not tried yet, and I haven't got access to a machine with Python on it for the next few weeks, but I just thought I'd check how easy it would be... just a matter of copying the module to python's directory, correct?

Yes, or you just bundle it with your package (it's opensource ;-)) and move it to the same directory in which your script is.

David

BTW: I love the ouput.py - module, since I'm using gentoo it's included in nearly every python-script I'm writing :-)
_________________
faster 'emerge -s'? emerge esearch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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