load python README.rst into setup.py

This commit is contained in:
Heng Li
2017-09-16 22:43:52 -04:00
parent 7da9a08a6f
commit 5103cea7d3
4 changed files with 8 additions and 3 deletions
+5
View File
@@ -17,11 +17,16 @@ else: # with Cython
import sys
sys.path.append('python')
def readme():
with open('python/README.rst') as f:
return f.read()
setup(
name = 'minimap2',
version = '2.2rc',
url = 'https://github.com/lh3/minimap2',
description = 'Minimap2 python binding',
long_description = readme(),
author = 'Heng Li',
author_email = 'lh3@me.com',
license = 'MIT',