/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 setup.cfg

  • 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:
 
1
# Copyright (C) 2008-2022 Canonical Ltd.
 
2
#
 
3
# This program is free software; you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License as published by
 
5
# the Free Software Foundation; either version 2 of the License, or
 
6
# (at your option) any later version.
 
7
#
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software
 
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
16
 
 
17
[metadata]
 
18
name = loggerhead
 
19
version = 2.0.0.dev0
 
20
description = Loggerhead is a web viewer for projects in bazaar
 
21
long_description = file: README.rst
 
22
long_description_content_type = text/x-rst
 
23
license = GNU GPL v2 or later
 
24
maintainer = Michael Hudson
 
25
maintainer_email = michael.hudson@canonical.com
 
26
 
 
27
[options]
 
28
scripts =
 
29
    loggerhead-serve
 
30
packages =
 
31
    breezy.plugins.loggerhead
 
32
    loggerhead
 
33
    loggerhead.apps
 
34
    loggerhead.controllers
 
35
    loggerhead.middleware
 
36
    loggerhead.templates
 
37
package_dir =
 
38
    breezy.plugins.loggerhead=.
 
39
install_requires =
 
40
    Chameleon
 
41
    Paste>=1.6
 
42
    bleach
 
43
    breezy>=3.1
 
44
    importlib-metadata; python_version < "3.8"
 
45
    packaging
 
46
 
 
47
[options.data_files]
 
48
share/man/man1 =
 
49
    loggerhead-serve.1
 
50
share/doc/loggerhead =
 
51
    apache-loggerhead.conf
 
52
    breezy.conf
 
53
    loggerheadd
 
54
 
 
55
[options.extras_require]
 
56
proxied =
 
57
    PasteDeploy>=1.3
 
58
flup =
 
59
    flup
 
60
 
 
61
[options.package_data]
 
62
loggerhead =
 
63
    static/css/*.css
 
64
    static/images/*
 
65
    static/javascript/*.js
 
66
    templates/*.pt