this is embarrassing: rename again to mappy

This commit is contained in:
Heng Li
2017-09-17 00:05:30 -04:00
parent eaaf53c9b8
commit d5012a1b17
8 changed files with 48 additions and 48 deletions
+5 -5
View File
@@ -9,9 +9,9 @@ cmdclass = {}
try:
from Cython.Build import build_ext
except ImportError: # without Cython
module_src = 'python/mmappy.c'
module_src = 'python/mappy.c'
else: # with Cython
module_src = 'python/mmappy.pyx'
module_src = 'python/mappy.pyx'
cmdclass['build_ext'] = build_ext
import sys
@@ -22,7 +22,7 @@ def readme():
return f.read()
setup(
name = 'mmappy',
name = 'mappy',
version = '2.2rc2',
url = 'https://github.com/lh3/minimap2',
description = 'Minimap2 python binding',
@@ -31,13 +31,13 @@ setup(
author_email = 'lh3@me.com',
license = 'MIT',
keywords = ['bioinformatics', 'sequence-alignment'],
ext_modules = [Extension('mmappy',
ext_modules = [Extension('mappy',
sources = [module_src, 'align.c', 'bseq.c', 'chain.c', 'format.c', 'hit.c', 'index.c',
'ksw2_extd2_sse.c', 'ksw2_exts2_sse.c', 'ksw2_extz2_sse.c', 'ksw2_ll_sse.c',
'kalloc.c', 'kthread.c', 'map.c', 'misc.c', 'sdust.c', 'sketch.c'],
depends = ['minimap.h', 'bseq.h', 'kalloc.h', 'kdq.h', 'khash.h', 'kseq.h', 'ksort.h',
'ksw2.h', 'kthread.h', 'kvec.h', 'mmpriv.h', 'sdust.h',
'python/cmmappy.h', 'python/cmmappy.pxd'],
'python/cmappy.h', 'python/cmappy.pxd'],
extra_compile_args = ['-msse4'], # WARNING: ancient x86_64 CPUs don't have SSE4
include_dirs = ['.'],
libraries = ['z', 'm', 'pthread'])],