pelican/pelican/__main__.py
Tim Gates 4bae94834e
Support for python -m pelican
Addresses https://github.com/getpelican/pelican/issues/2523

Note: @avaris made a good point that there is no need to replace the existing
module runner for pelican quickstart or the other tools as this can be run
via:

> python -m pelican.tools.pelican_quickstart
2019-06-14 09:41:49 +10:00

10 lines
165 B
Python

"""
python -m pelican module entry point to run via python -m
"""
from __future__ import absolute_import
from . import main
if __name__ == '__main__':
main()