View previous topic :: View next topic |
Author |
Message |
telex4 l33t
Joined: 21 Sep 2002 Posts: 704 Location: Reading, UK
|
Posted: Fri Jun 20, 2003 5:12 pm Post subject: is output.py a gentoo module? |
|
|
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 |
|
|
Pythonhead Developer
Joined: 16 Dec 2002 Posts: 1801 Location: Redondo Beach, Republic of Calif.
|
Posted: Fri Jun 20, 2003 5:37 pm Post subject: |
|
|
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 |
|
|
telex4 l33t
Joined: 21 Sep 2002 Posts: 704 Location: Reading, UK
|
Posted: Fri Jun 20, 2003 6:33 pm Post subject: |
|
|
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 |
|
|
haceye Apprentice
Joined: 22 May 2003 Posts: 187 Location: Stuttgart, Germany
|
Posted: Fri Jun 20, 2003 6:56 pm Post subject: |
|
|
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 |
|
|
|