Mercurial > hg > multiomr
annotate Alignment/C_Libraries/NWunsch/Csetup.py @ 2:46fb79167a61 tip
Main Code
author | Victor Padilla <victor.padilla.mc@gmail.com> |
---|---|
date | Mon, 04 May 2015 22:56:18 +0200 |
parents | 1eb6054a1f84 |
children |
rev | line source |
---|---|
victor@0 | 1 ''' |
victor@0 | 2 @organization: Lancaster University & University of Leeds |
victor@0 | 3 @version: 1.0 |
victor@0 | 4 Created on 11/12/2014 |
victor@0 | 5 |
victor@0 | 6 @author: Victor Padilla |
victor@0 | 7 @contact: v.padilla@lancaster.ac.uk |
victor@0 | 8 |
victor@0 | 9 This file compiles 'NWunsch.c' into 'NWunsch.pyd' |
victor@0 | 10 |
victor@0 | 11 The 'NWunsch.pyd' file should be copied in the'Alignment' folder |
victor@0 | 12 |
victor@0 | 13 usage: |
victor@0 | 14 |
victor@0 | 15 python Csetup.py build |
victor@0 | 16 ''' |
victor@0 | 17 from distutils.core import setup, Extension |
victor@0 | 18 |
victor@0 | 19 module1 = Extension('NWunsch', sources = ['NWunsch.c']) |
victor@0 | 20 |
victor@0 | 21 setup (name = 'NWunsch', |
victor@0 | 22 version = '1.0', |
victor@0 | 23 description = 'It calculates the differences between two arrays based on Needlemann Wunsh algorith', |
victor@0 | 24 ext_modules = [module1]) |