tomerfiliba-org / reedsolomon

⏳🛡 Pythonic universal errors-and-erasures Reed-Solomon codec to protect your data from errors and bitrot. Includes a future-proof zero-dependencies pure-python implementation 🔮 and an optional speed-optimized Cython/C extension 🚀
http://pypi.python.org/pypi/reedsolo
Other
352 stars 86 forks source link

Update to packaging, coverage, coveralls and gf_mult_noLUT() #8

Closed lrq3000 closed 8 years ago

lrq3000 commented 8 years ago

Hi there,

I have updated the packaging script so that it works easily with Twine.

I also updated the Travis config to avoid the build error with Python 3.2, and I added the coverage stats. The coverage of the unit test is 85%, which is quite good :D

Also a small update to the gf_mult_noLUT() function.

BTW, I also updated the tutorial at Wikiversity, which now mirrors the code in the latest version of this project (I simplified a few optimizations down for intelligibility, but the processes are the same).

tomerfiliba commented 8 years ago

by the way, if we don't require sudo for the tests, you can add sudo:false to .travis and it would run faster. http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade

tomerfiliba commented 8 years ago

and thanks for the effort! :)

lrq3000 commented 8 years ago

Ah nice! Thank you for the tip, I didn't know about it :) I added it into the travis config, but anyway the build was already run in a container, so we won't gain much I think:

"This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables."