mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
remove silly import from setup.py
This commit is contained in:
parent
001db644a5
commit
469e696a95
2 changed files with 7 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
from mdx_oembed.extension import OEmbedExtension
|
from mdx_oembed.extension import OEmbedExtension
|
||||||
|
|
||||||
|
|
||||||
VERSION = '0.1.3'
|
VERSION = '0.1.4'
|
||||||
|
|
||||||
|
|
||||||
def makeExtension(configs=None):
|
def makeExtension(configs=None):
|
||||||
|
|
|
||||||
11
setup.py
11
setup.py
|
|
@ -4,17 +4,18 @@ try:
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
import mdx_oembed
|
|
||||||
|
|
||||||
|
|
||||||
with open('README.markdown', 'r') as readme:
|
try:
|
||||||
LONG_DESCRIPTION = readme.read()
|
with open('README.markdown', 'r') as readme:
|
||||||
VERSION = mdx_oembed.VERSION
|
LONG_DESCRIPTION = readme.read()
|
||||||
|
except Exception:
|
||||||
|
LONG_DESCRIPTION = None
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='python-markdown-oembed',
|
name='python-markdown-oembed',
|
||||||
version=VERSION,
|
version='0.1.4',
|
||||||
description="Markdown extension to allow media embedding using the oEmbed "
|
description="Markdown extension to allow media embedding using the oEmbed "
|
||||||
"standard.",
|
"standard.",
|
||||||
long_description=LONG_DESCRIPTION,
|
long_description=LONG_DESCRIPTION,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue