6cac52c36ed6ca0dae798e18999b622093dd5e44
3 with
open('README.md', 'rt') as f
:
4 long_description
= f
.read()
6 posit_ext
= setuptools
.Extension(
7 'sfpy.posit', ['sfpy/posit.c'],
8 include_dirs
=['SoftPosit/source/include/'],
9 extra_objects
=['SoftPosit/build/Linux-x86_64-GCC/softposit.a'],
13 float_ext
= setuptools
.Extension(
14 'sfpy.float', ['sfpy/float.c'],
15 include_dirs
=['berkeley-softfloat-3/source/include/'],
16 extra_objects
=['berkeley-softfloat-3/build/Linux-x86_64-GCC/softfloat.a'],
23 author_email
='bill.zorn@gmail.com',
24 description
='softfloat and softposit in python',
25 long_description
=long_description
,
26 url
='https://github.com/billzorn/sfpy',
28 ext_modules
=[posit_ext
, float_ext
],
30 'Development Status :: 4 - Beta',