aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/__version__.py1
-rw-r--r--markdown/extensions/attr_list.py1
-rw-r--r--markdown/inlinepatterns.py1
-rwxr-xr-xsetup.py2
4 files changed, 5 insertions, 0 deletions
diff --git a/markdown/__version__.py b/markdown/__version__.py
index 339f039..049942b 100644
--- a/markdown/__version__.py
+++ b/markdown/__version__.py
@@ -26,4 +26,5 @@ def _get_version():
return str(main + sub)
+
version = _get_version()
diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py
index 9f6a99a..a7f92b6 100644
--- a/markdown/extensions/attr_list.py
+++ b/markdown/extensions/attr_list.py
@@ -52,6 +52,7 @@ def _handle_word(s, t):
return 'id', t[1:]
return t, t
+
_scanner = Scanner([
(r'[^ =]+=".*?"', _handle_double_quote),
(r"[^ =]+='.*?'", _handle_single_quote),
diff --git a/markdown/inlinepatterns.py b/markdown/inlinepatterns.py
index 6d4c969..67bc2a8 100644
--- a/markdown/inlinepatterns.py
+++ b/markdown/inlinepatterns.py
@@ -87,6 +87,7 @@ def build_inlinepatterns(md_instance, **kwargs):
inlinePatterns["emphasis2"] = SimpleTagPattern(EMPHASIS_2_RE, 'em')
return inlinePatterns
+
"""
The actual regular expressions for patterns
-----------------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index fec2dcb..0699512 100755
--- a/setup.py
+++ b/setup.py
@@ -22,6 +22,7 @@ def get_version():
finally:
fp.close()
+
version, version_info = get_version()
# Get development Status for classifiers
@@ -210,6 +211,7 @@ class md_build(build):
sub_commands = build.sub_commands + [('build_docs', has_docs)]
+
long_description = '''
This is a Python implementation of John Gruber's Markdown_.
It is almost completely compliant with the reference implementation,