diff --git a/mdx_oembed/__init__.py b/mdx_oembed/__init__.py index 1cc6cba..97960a4 100644 --- a/mdx_oembed/__init__.py +++ b/mdx_oembed/__init__.py @@ -2,7 +2,7 @@ from mdx_oembed.extension import OEmbedExtension -VERSION = '0.1.3' +VERSION = '0.1.4' def makeExtension(configs=None): diff --git a/setup.py b/setup.py index 8514cd7..6c19af5 100644 --- a/setup.py +++ b/setup.py @@ -4,17 +4,18 @@ try: from setuptools import setup except ImportError: from distutils.core import setup -import mdx_oembed -with open('README.markdown', 'r') as readme: - LONG_DESCRIPTION = readme.read() -VERSION = mdx_oembed.VERSION +try: + with open('README.markdown', 'r') as readme: + LONG_DESCRIPTION = readme.read() +except Exception: + LONG_DESCRIPTION = None setup( name='python-markdown-oembed', - version=VERSION, + version='0.1.4', description="Markdown extension to allow media embedding using the oEmbed " "standard.", long_description=LONG_DESCRIPTION,