setup.py (326B)
1 from distutils.core import setup, Extension 2 3 rlp = Extension('rlp', 4 sources = ['aux/src/rlp.c', 'aux/src/endian.c', 'aux/src/bits.c', 'aux/src/encode.c', 'aux/src/decode.c'], 5 ) 6 7 setup( 8 name='pylibrlp', 9 version = '0.0.1a1', 10 ext_modules = [rlp], 11 packages=['pylibrlp'], 12 )