Update README.md
[sfpy.git] / setup.py
index 53208a43c696ed97406d4c6b6e83e1d0d345242f..65daf538f867b4e8c2487ac07c93e83f5e23f836 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,16 @@
 import setuptools
-from Cython.Build import cythonize
 
 posit_ext = setuptools.Extension(
-    'sfpy.posit', ['sfpy/posit.pyx'],
+    'sfpy.posit', ['sfpy/posit.c'],
     include_dirs=['SoftPosit/source/include/'],
-    extra_objects=['./SoftPosit/build/Linux-x86_64-GCC/softposit.a'],
+    extra_objects=['SoftPosit/build/Linux-x86_64-GCC/softposit.a'],
     libraries=['m'],
 )
 
 float_ext = setuptools.Extension(
-    'sfpy.float', ['sfpy/float.pyx'],
+    'sfpy.float', ['sfpy/float.c'],
     include_dirs=['berkeley-softfloat-3/source/include/'],
-    extra_objects=['./berkeley-softfloat-3/build/Linux-x86_64-GCC/softfloat.a'],
+    extra_objects=['berkeley-softfloat-3/build/Linux-x86_64-GCC/softfloat.a'],
 )
 
 setuptools.setup(
@@ -22,5 +21,5 @@ setuptools.setup(
     author_email='bill.zorn@gmail.com',
     url='https://github.com/billzorn/sfpy',
     packages=['sfpy'],
-    ext_modules=cythonize([posit_ext, float_ext]),
+    ext_modules=[posit_ext, float_ext],
 )