victor@0: ''' victor@0: @organization: Lancaster University & University of Leeds victor@0: @version: 1.0 victor@0: Created on 11/12/2014 victor@0: victor@0: @author: Victor Padilla victor@0: @contact: v.padilla@lancaster.ac.uk victor@0: victor@0: This file compiles 'NWunsch.c' into 'NWunsch.pyd' victor@0: victor@0: The 'NWunsch.pyd' file should be copied in the'Alignment' folder victor@0: victor@0: usage: victor@0: victor@0: python Csetup.py build victor@0: ''' victor@0: from distutils.core import setup, Extension victor@0: victor@0: module1 = Extension('NWunsch', sources = ['NWunsch.c']) victor@0: victor@0: setup (name = 'NWunsch', victor@0: version = '1.0', victor@0: description = 'It calculates the differences between two arrays based on Needlemann Wunsh algorith', victor@0: ext_modules = [module1])