from setuptools import setup
from sys import path

from Cython.Build import cythonize

path.append('./src/cython/')
from {prefix}{former}setup import ext_modules as former_ext_modules
from {prefix}{solver}setup import ext_modules as solver_ext_modules
from {prefix}ctlsetup import ext_modules as ctl_ext_modules
ext_modules = former_ext_modules + solver_ext_modules + ctl_ext_modules

setup(name='{prefix}', 
        version='1.0',
        packages=['{prefix}'],
        ext_package='{prefix}',
        ext_modules=cythonize(ext_modules),
        package_dir={{'{prefix}': 'src'}},
        package_data={{'{prefix}': ['mpc.pickle']}},
        )

