mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
- reorganize imports and remove unused import
- remove trailing spaces at the end of the generated files
This commit is contained in:
parent
71a5ba3283
commit
ec31832c5c
1 changed files with 7 additions and 6 deletions
|
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*- #
|
# -*- coding: utf-8 -*- #
|
||||||
|
|
||||||
import os, sys, argparse, string
|
import os
|
||||||
|
import string
|
||||||
|
import argparse
|
||||||
|
|
||||||
from pelican import __version__
|
from pelican import __version__
|
||||||
|
|
||||||
TEMPLATES={
|
TEMPLATES = {
|
||||||
'Makefile' : '''
|
'Makefile' : '''
|
||||||
PELICAN=$pelican
|
PELICAN=$pelican
|
||||||
PELICANOPTS=$pelicanopts
|
PELICANOPTS=$pelicanopts
|
||||||
|
|
@ -60,7 +63,7 @@ github: $$(OUTPUTDIR)/index.html
|
||||||
\tgit push origin gh-pages
|
\tgit push origin gh-pages
|
||||||
|
|
||||||
.PHONY: html help clean ftp_upload ssh_upload dropbox_upload github
|
.PHONY: html help clean ftp_upload ssh_upload dropbox_upload github
|
||||||
''',
|
''',
|
||||||
|
|
||||||
'pelican.conf.py': '''#!/usr/bin/env python
|
'pelican.conf.py': '''#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*- #
|
# -*- coding: utf-8 -*- #
|
||||||
|
|
@ -87,9 +90,7 @@ SOCIAL = (
|
||||||
)
|
)
|
||||||
|
|
||||||
DEFAULT_PAGINATION = $default_pagination
|
DEFAULT_PAGINATION = $default_pagination
|
||||||
|
'''
|
||||||
|
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CONF = {
|
CONF = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue