mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
commit
ad36beed1f
4 changed files with 9 additions and 6 deletions
|
|
@ -2,4 +2,3 @@ include *.rst
|
||||||
global-include *.py
|
global-include *.py
|
||||||
recursive-include pelican *.html *.css *png
|
recursive-include pelican *.html *.css *png
|
||||||
include LICENSE
|
include LICENSE
|
||||||
global-include *.bat
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ import sys, os
|
||||||
|
|
||||||
sys.path.append(os.path.abspath('..'))
|
sys.path.append(os.path.abspath('..'))
|
||||||
|
|
||||||
|
from pelican import __version__, __major__
|
||||||
|
|
||||||
# -- General configuration -----------------------------------------------------
|
# -- General configuration -----------------------------------------------------
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
extensions = ['sphinx.ext.autodoc',]
|
extensions = ['sphinx.ext.autodoc',]
|
||||||
|
|
@ -11,8 +13,8 @@ master_doc = 'index'
|
||||||
project = u'Pelican'
|
project = u'Pelican'
|
||||||
copyright = u'2010, Alexis Metaireau and contributors'
|
copyright = u'2010, Alexis Metaireau and contributors'
|
||||||
exclude_patterns = ['_build']
|
exclude_patterns = ['_build']
|
||||||
version = "2"
|
version = __version__
|
||||||
release = version
|
release = __major__
|
||||||
|
|
||||||
# -- Options for HTML output ---------------------------------------------------
|
# -- Options for HTML output ---------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,9 @@ from pelican.utils import clean_output_dir, files_changed
|
||||||
from pelican.writers import Writer
|
from pelican.writers import Writer
|
||||||
from pelican import log
|
from pelican import log
|
||||||
|
|
||||||
__version__ = "3.0"
|
__major__ = 3
|
||||||
|
__minor__ = 0
|
||||||
|
__version__ = "{0}.{1}".format(__major__, __minor__)
|
||||||
|
|
||||||
|
|
||||||
class Pelican(object):
|
class Pelican(object):
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
VERSION = "3.0" # find a better way to do so.
|
from pelican import __version__
|
||||||
|
|
||||||
requires = ['feedgenerator', 'jinja2', 'pygments', 'docutils', 'pytz']
|
requires = ['feedgenerator', 'jinja2', 'pygments', 'docutils', 'pytz']
|
||||||
|
|
||||||
|
|
@ -21,7 +21,7 @@ entry_points = {
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = "pelican",
|
name = "pelican",
|
||||||
version = VERSION,
|
version = __version__,
|
||||||
url = 'http://pelican.notmyidea.org/',
|
url = 'http://pelican.notmyidea.org/',
|
||||||
author = 'Alexis Metaireau',
|
author = 'Alexis Metaireau',
|
||||||
author_email = 'alexis@notmyidea.org',
|
author_email = 'alexis@notmyidea.org',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue