Skip to content

Commit

Permalink
hange md to rst conversion to functions, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed May 25, 2017
1 parent 3db0ed5 commit 33c0f6f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,30 @@
from setuptools import find_packages


description_file = 'README.md'

try:
from pypandoc import convert
long_description = convert(description_file, 'rst')

def get_long_description(file_name):
return convert(file_name, 'rst', 'md')

except ImportError:
with open(description_file) as f:
long_description = f.read()

def get_long_description(file_name):
with open(file_name) as f:
return f.read()


setup(
name='dotplot',
packages=find_packages(),
version='0.4.3',
version='0.4.4',
license='LGPL-3.0',
description='Small bioinformatic package for dotplot\'s generation (in command line and in GUI)',
long_description=long_description,
long_description=get_long_description('README.md'),
author='kn_bibs',
author_email='bibs.kn@uw.edu.pl',
url='https://github.com/kn-bibs/dotplot',
download_url='https://github.com/kn-bibs/dotplot/tarball/v0.4.3-alpha',
download_url='https://github.com/kn-bibs/dotplot/tarball/v0.4.4-alpha',
keywords=['dotplot', 'bioinformatic', 'gui'],
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit 33c0f6f

Please sign in to comment.