mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 8575c7ff04 into 780ccfe137
This commit is contained in:
commit
2008aa597b
2 changed files with 11 additions and 1 deletions
|
|
@ -382,6 +382,16 @@ def get_instance(args):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
args = parse_arguments()
|
args = parse_arguments()
|
||||||
|
prepare(args)
|
||||||
|
|
||||||
|
|
||||||
|
def prepare(args):
|
||||||
|
""" preapres settings received from an argparse or mocked argparse
|
||||||
|
from different application that imports pelican.
|
||||||
|
|
||||||
|
:param args: argparse.ArgumentParser or mocked argparse Class object
|
||||||
|
:type args: argparse.ArgumentParser or mocked argparse
|
||||||
|
"""
|
||||||
init(args.verbosity)
|
init(args.verbosity)
|
||||||
pelican, settings = get_instance(args)
|
pelican, settings = get_instance(args)
|
||||||
readers = Readers(settings)
|
readers = Readers(settings)
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -21,7 +21,7 @@ CHANGELOG = open('docs/changelog.rst').read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pelican",
|
name="pelican",
|
||||||
version="3.6.1.dev",
|
version="3.7.0.dev",
|
||||||
url='http://getpelican.com/',
|
url='http://getpelican.com/',
|
||||||
author='Alexis Metaireau',
|
author='Alexis Metaireau',
|
||||||
author_email='authors@getpelican.com',
|
author_email='authors@getpelican.com',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue