/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to docs/conf.py

  • Committer: Colin Watson
  • Date: 2022-08-08 17:26:06 UTC
  • mto: This revision was merged to the branch mainline in revision 529.
  • Revision ID: cjwatson@canonical.com-20220808172606-77xzhydq226ohtma
Modernize packaging.

There are new dependencies on `importlib_metadata` (for Python < 3.8)
and `packaging`, in order to avoid a self-import in `setup.py`.  People
proxying Loggerhead through Apache should install the
`loggerhead[proxied]` extra; people running it via FastCGI, SCGI, or AJP
should install the `loggerhead[flup]` extra.

The version handling rearrangements make it possible to install
Loggerhead using `pip`.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# All configuration values have a default; values that are commented out
12
12
# serve to show the default.
13
13
 
14
 
import sys, os
 
14
from loggerhead import __version__
15
15
 
16
16
# If extensions (or modules to document with autodoc) are in another directory,
17
17
# add these directories to sys.path here. If the directory is relative to the
45
45
# built documents.
46
46
#
47
47
# The short X.Y version.
48
 
version = '1.17'
 
48
version = __version__
49
49
# The full version, including alpha/beta/rc tags.
50
 
release = '1.17'
 
50
release = __version__
51
51
 
52
52
# The language for content autogenerated by Sphinx. Refer to documentation
53
53
# for a list of supported languages.