Skip to content

Commit

Permalink
remove pypandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mayfield committed Feb 18, 2023
1 parent 01acbff commit d55bb45
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
#!/usr/bin/env python

from setuptools import setup, find_packages

README = 'README.md'


def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
with open('README.md') as f:
return f.read()


setup(
name='shellish',
Expand All @@ -23,6 +16,7 @@ def long_desc():
url='https://github.com/mayfield/shellish/',
license='MIT',
long_description=long_desc(),
long_description_content_type='text/markdown',
packages=find_packages(),
install_requires=['markdown2'],
test_suite='test',
Expand Down

0 comments on commit d55bb45

Please sign in to comment.