This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
packages:python-poldek [2006-06-07 01:33] glen |
packages:python-poldek [2006-06-07 01:42] glen |
||
---|---|---|---|
Line 4: | Line 4: | ||
Here's some information i managed to gather by looking at swig source and py code. A lot of help gave ''cli/test_cli.c'', had no clue where to start from. | Here's some information i managed to gather by looking at swig source and py code. A lot of help gave ''cli/test_cli.c'', had no clue where to start from. | ||
- | Very first success: | + | |
<file>$ python | <file>$ python | ||
Line 18: | Line 18: | ||
error: foo: No such file or directory | error: foo: No such file or directory | ||
0 | 0 | ||
- | >>> | + | >>> ctx.setup() |
+ | 1 | ||
+ | >>> allpkg = ctx.get_avail_packages() | ||
</file> | </file> | ||