123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- import sys
- import os
- os.environ["GEVENT_NOPATCH"] = "yes"
- os.environ["EVENTLET_NOPATCH"] = "yes"
- os.environ["CELERY_LOADER"] = "default"
- this = os.path.dirname(os.path.abspath(__file__))
- sys.path.append(os.path.join(os.pardir, "tests"))
- sys.path.append(os.path.join(this, "_ext"))
- import celery
- from celery import Celery
- app = Celery(set_as_current=True)
- app.conf.update(BROKER_URL="memory://",
- CELERY_RESULT_BACKEND="cache",
- CELERY_CACHE_BACKEND="memory",
- CELERYD_HIJACK_ROOT_LOGGER=False,
- CELERYD_LOG_COLOR=False)
- extensions = ['sphinx.ext.autodoc',
- 'sphinx.ext.coverage',
- 'sphinx.ext.pngmath',
- 'sphinx.ext.intersphinx',
- 'sphinxcontrib.issuetracker',
- 'celerydocs']
- html_show_sphinx = False
- templates_path = ['.templates']
- source_suffix = '.rst'
- master_doc = 'index'
- project = u'Celery'
- copyright = u'2009-2012, Ask Solem & Contributors'
- version = ".".join(map(str, celery.VERSION[0:2]))
- release = celery.__version__
- exclude_trees = ['.build']
- add_function_parentheses = True
- intersphinx_mapping = {
- "http://docs.python.org/dev": None,
- "http://kombu.readthedocs.org/en/latest/": None,
- "http://django-celery.readthedocs.org/en/latest": None,
- "http://cyme.readthedocs.org/en/latest": None,
- }
- pygments_style = 'trac'
- html_static_path = ['.static']
- html_use_smartypants = True
- html_use_modindex = True
- html_use_index = True
- latex_documents = [
- ('index', 'Celery.tex', ur'Celery Documentation',
- ur'Ask Solem & Contributors', 'manual'),
- ]
- html_theme = "celery"
- html_theme_path = ["_theme"]
- html_sidebars = {
- 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],
- '**': ['sidebarlogo.html', 'relations.html',
- 'sourcelink.html', 'searchbox.html'],
- }
- if False:
- issuetracker = "github"
- issuetracker_project = "celery/celery"
- issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
- epub_title = 'Celery Manual, Version 2.6'
- epub_author = 'Ask Solem'
- epub_publisher = 'Celery Project'
- epub_copyright = '2009-2012'
- epub_language = 'en'
- epub_scheme = 'ISBN'
- epub_identifier = 'celeryproject.org'
- epub_uid = 'Celery Manual, Version 2.6'
- epub_exclude_files = ['search.html']
- epub_tocdepth = 3
|