| Line | |
|---|
| 1 | snakeoil-0.1 < http://www.pkgcore.org/snakeoil/ > |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | WHAT IS SNAKEOIL? |
|---|
| 5 | |
|---|
| 6 | snakeoil is a python library that implements optimized versions of common |
|---|
| 7 | python functionality. Some classes and functions have cpython equivalents, |
|---|
| 8 | but they all have native python implementations too. |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | WHO TO CONTACT IF I FIND A BUG? |
|---|
| 12 | |
|---|
| 13 | Please submit a bug/ticket via http://www.pkgcore.org. Barring that, please at |
|---|
| 14 | least send the details to pkgcore-bugs@pkgcore.org. Please do not use |
|---|
| 15 | bugs.gentoo.org as the first step; any bugs, pkgcore devs should filter before |
|---|
| 16 | passing up at this point. |
|---|
| 17 | |
|---|
| 18 | You can also stop by on irc.freenode.net #pkgcore |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | TESTS? |
|---|
| 22 | |
|---|
| 23 | A standalone test runner is integrated in setup.py; to run, just execute |
|---|
| 24 | setup.py test |
|---|
| 25 | Aside from that, our runner of choice is twisteds trial; ran via- |
|---|
| 26 | |
|---|
| 27 | trial snakeoil |
|---|
| 28 | |
|---|
| 29 | if you're doing development, trial is significantly friendlier; the |
|---|
| 30 | standalone runner is designed to be used mainly for installations of |
|---|
| 31 | snakeoil, where all tests must pass, else installation is aborted. |
|---|
| 32 | |
|---|
| 33 | |
|---|
| 34 | INSTALLING: |
|---|
| 35 | |
|---|
| 36 | pretty simple- |
|---|
| 37 | |
|---|
| 38 | tar jxf snakeoil-0.XX.tar.bz2 |
|---|
| 39 | cd snakeoil-0.XX |
|---|
| 40 | python setup.py build |
|---|
| 41 | |
|---|
| 42 | if after running tests, |
|---|
| 43 | |
|---|
| 44 | cd snakeoil-0.xx |
|---|
| 45 | python setup.py test |
|---|
| 46 | |
|---|
| 47 | finally, installing- |
|---|
| 48 | |
|---|
| 49 | cd snakeoil-0.xx |
|---|
| 50 | python setup.py install |
|---|