load python README.rst into setup.py
This commit is contained in:
parent
7da9a08a6f
commit
5103cea7d3
|
|
@ -8,4 +8,4 @@ include python/minimap2.c
|
||||||
include python/cminimap2.h
|
include python/cminimap2.h
|
||||||
include python/cminimap2.pxd
|
include python/cminimap2.pxd
|
||||||
include python/minimap2.pyx
|
include python/minimap2.pyx
|
||||||
include python/README.md
|
include python/README.rst
|
||||||
|
|
|
||||||
5
setup.py
5
setup.py
|
|
@ -17,11 +17,16 @@ else: # with Cython
|
||||||
import sys
|
import sys
|
||||||
sys.path.append('python')
|
sys.path.append('python')
|
||||||
|
|
||||||
|
def readme():
|
||||||
|
with open('python/README.rst') as f:
|
||||||
|
return f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'minimap2',
|
name = 'minimap2',
|
||||||
version = '2.2rc',
|
version = '2.2rc',
|
||||||
url = 'https://github.com/lh3/minimap2',
|
url = 'https://github.com/lh3/minimap2',
|
||||||
description = 'Minimap2 python binding',
|
description = 'Minimap2 python binding',
|
||||||
|
long_description = readme(),
|
||||||
author = 'Heng Li',
|
author = 'Heng Li',
|
||||||
author_email = 'lh3@me.com',
|
author_email = 'lh3@me.com',
|
||||||
license = 'MIT',
|
license = 'MIT',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue