From bc264ff0dfbf88abe3862723723d37b6a3456938 Mon Sep 17 00:00:00 2001 From: noah morrison Date: Sun, 25 Jan 2015 16:08:40 -0500 Subject: [PATCH] Fix setup.py again. It really... really likes to break on me. (I think I have it fixed now) Also the try catch is for tox, I don't know if there is a better way then to do that. --- setup.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index bea8cff..f633b76 100644 --- a/setup.py +++ b/setup.py @@ -5,18 +5,30 @@ try: except ImportError: from distutils.core import setup +try: + import pypandoc + readme = pypandoc.convert('README.md', 'rst') +except ImportError: + print('\n\n!!!\npypandoc not loaded\n!!!\n') + readme = '' + + setup(name='chevron', version='0.7.4', license='MIT', + description='Mustache templating language renderer', + long_description=readme, + author='noah morrison', author_email='noah@morrison.ph', - url='', - download_url='/tarball/0.7.4', + url='https://github.com/noahmorrison/chevron', + packages=['chevron'], entry_points={ 'console_scripts': ['chevron=chevron:cli_main'] }, + classifiers=[ 'Development Status :: 4 - Beta', -- 2.47.3