mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-01 02:18:12 +08:00
this is embarrassing: rename again to mappy
This commit is contained in:
@@ -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'])],
|
||||
|
||||
Reference in New Issue
Block a user