from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize

VERSION = '0.9'

# f_type = '.py'
f_type = '.c'
ext_modules = [

    Extension("persist_kv_store.stores.cache.cache",
              [
                  "persist_kv_store\\stores\\cache\\cache.c"
                  # to compile from cython for build purposes
                  # comment out the like above this and uncomment
                  # this one.
                  # "persist_kv_store\\stores\\cache\\cache.pyx "
              ]),
    Extension("persist_kv_store.stores.basestore",
              [f"persist_kv_store\\stores\\basestore{f_type}"]),
    Extension("persist_kv_store.stores.memstore",
              [f"persist_kv_store\\stores\\memstore{f_type}"]),
    Extension("persist_kv_store.stores.redisstore",
              [f"persist_kv_store\\stores\\redisstore{f_type}"]),
    Extension("persist_kv_store.stores.persiststore",
              [f"persist_kv_store\\stores\\persiststore{f_type}"]),
    Extension("persist_kv_store.stores.serializer",
              [f"persist_kv_store\\stores\\serializer{f_type}"]),
]

setup(
    name="persist_kv_store",
    version=VERSION,
    description="Python key value persistance mechanism",
    author='Jacob Duncan',
    author_email='jacob.duncan@truepowere.com',
    packages=['persist_kv_store'],
    url='https://github.com/Bigjaked/py-kv-store/raw/master/persist_kv_store.zip',
    ext_modules=cythonize(ext_modules))

@@ -118,18 +118,19 @@
 N = '0.9
+1
 '%0A
-
 %0A# f_typ
@@ -541,24 +541,26 @@
      %5D),%0A   
+ #
  Extension(%22
@@ -590,32 +590,34 @@
 .basestore%22,%0A   
+ #
            %5Bf%22pe
@@ -657,32 +657,34 @@
 %7Bf_type%7D%22%5D),%0A   
+ #
  Extension(%22pers
@@ -709,32 +709,34 @@
 s.memstore%22,%0A   
+ #
            %5Bf%22pe
@@ -775,32 +775,34 @@
 %7Bf_type%7D%22%5D),%0A   
+ #
  Extension(%22pers
@@ -829,32 +829,34 @@
 redisstore%22,%0A   
+ #
            %5Bf%22pe
@@ -897,32 +897,34 @@
 %7Bf_type%7D%22%5D),%0A   
+ #
  Extension(%22pers
@@ -954,32 +954,33 @@
 siststore%22,%0A    
+#
           %5Bf%22per
@@ -965,32 +965,33 @@
 %0A    #          
+ 
 %5Bf%22persist_kv_st
@@ -1027,24 +1027,26 @@
 ype%7D%22%5D),%0A   
+ #
  Extension(%22
@@ -1081,24 +1081,26 @@
 alizer%22,%0A   
+ #
            %5B

update binary