Gentoo Archives: gentoo-dev

From: George Shapovalov <georges@×××××××××××.edu>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] documentation for portage.py
Date: Sat, 10 Aug 2002 15:11:41
Message-Id: 200208101310.42980.georges@its.caltech.edu
In Reply to: [gentoo-dev] documentation for portage.py by Nils Decker
1 Hi Nils
2
3 I am not sure what exactly you are looking for, however you can simply import
4 the module (import portage) and start using defined classes and methods.
5 Try looking at emerge and ebuild scripts for examples.
6
7 George
8
9 On Saturday 10 August 2002 12:47, Nils Decker wrote:
10 > Today i wanted to write a little program that draws the portage
11 > dependancies using graphviz. I skipped over portage.py and wondered how the
12 > interface works.
13 >
14 > Is there a document describing how to use portage from python? I didn't
15 > find anything on gentoo.org
16 >
17 > Thanks
18 > Nils