forked from github/pelican
bump version
This commit is contained in:
parent
02b9b964b8
commit
e0308e3528
2 changed files with 5 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ from pelican.utils import clean_output_dir, files_changed
|
|||
from pelican.writers import Writer
|
||||
from pelican import log
|
||||
|
||||
__version__ = "2.7.2"
|
||||
__version__ = "2.8.0"
|
||||
|
||||
|
||||
class Pelican(object):
|
||||
|
|
@ -63,10 +63,10 @@ class Pelican(object):
|
|||
if hasattr(p, 'generate_context'):
|
||||
p.generate_context()
|
||||
|
||||
# erase the directory if it is not the source and if that's
|
||||
# erase the directory if it is not the source and if that's
|
||||
# explicitely asked
|
||||
if (self.delete_outputdir and not
|
||||
os.path.realpath(self.path).startswith(self.output_path)):
|
||||
os.path.realpath(self.path).startswith(self.output_path)):
|
||||
clean_output_dir(self.output_path)
|
||||
|
||||
writer = self.get_writer()
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -3,7 +3,7 @@ from setuptools import setup
|
|||
import sys
|
||||
import platform
|
||||
|
||||
VERSION = "2.7.2" # find a better way to do so.
|
||||
VERSION = "2.8.0" # find a better way to do so.
|
||||
|
||||
requires = ['feedgenerator', 'jinja2', 'pygments', 'docutils', 'pytz']
|
||||
if sys.version_info < (2,7):
|
||||
|
|
@ -13,7 +13,7 @@ scripts = ['bin/pelican', 'tools/pelican-themes', 'tools/pelican-import', 'tools
|
|||
|
||||
if sys.platform.startswith('win'):
|
||||
scripts += [
|
||||
'bin/pelican.bat', 'tools/pelican-themes.bat',
|
||||
'bin/pelican.bat', 'tools/pelican-themes.bat',
|
||||
'tools/pelican-import.bat', 'tools/pelican-quickstart.bat'
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue