Skip to content

Commit

Permalink
Changed setup.py to parse markdown README file
Browse files Browse the repository at this point in the history
  • Loading branch information
bjmorgan committed Sep 29, 2018
1 parent b6ee770 commit 7fa7be8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@
except ImportError:
from distutils.core import setup

try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
long_description = open('README.md').read()
long_description = open('README.md').read()

from lattice_mc import __version__
VERSION = __version__

config = {
'description': 'A lattice-gas Monte-Carlo simulation tool',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'author': 'Benjamin J. Morgan',
'author_email': '[email protected]',
'url': 'https://github.com/bjmorgan/lattice_mc',
Expand Down

0 comments on commit 7fa7be8

Please sign in to comment.