mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 35c0909e8b into 9e526a825e
This commit is contained in:
commit
e9ff317ef4
2 changed files with 2 additions and 5 deletions
|
|
@ -21,10 +21,7 @@ from pelican.contents import Author, Category, Page, Tag
|
|||
from pelican.utils import SafeDatetime, escape_html, get_date, pelican_open, \
|
||||
posixize_path
|
||||
|
||||
try:
|
||||
from markdown import Markdown
|
||||
except ImportError:
|
||||
Markdown = False # NOQA
|
||||
from markdown import Markdown # NOQA
|
||||
|
||||
# Metadata processors have no way to discard an unwanted value, so we have
|
||||
# them return this value instead to signal that it should be discarded later.
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -7,7 +7,7 @@ from os.path import join, relpath
|
|||
from setuptools import setup
|
||||
|
||||
requires = ['feedgenerator >= 1.9', 'jinja2 >= 2.7', 'pygments', 'docutils',
|
||||
'pytz >= 0a', 'blinker', 'unidecode', 'six >= 1.4',
|
||||
'pytz >= 0a', 'blinker', 'unidecode', 'six >= 1.4', 'markdown',
|
||||
'python-dateutil']
|
||||
|
||||
entry_points = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue