Merge lp:~jelmer/loggerhead/pyproject-toml into lp:loggerhead

Proposed by Jelmer Vernooij
Status: Needs review
Proposed branch: lp:~jelmer/loggerhead/pyproject-toml
Merge into: lp:loggerhead
Diff against target: 133 lines (+58/-66)
2 files modified
pyproject.toml (+58/-0)
setup.cfg (+0/-66)
To merge this branch: bzr merge lp:~jelmer/loggerhead/pyproject-toml
Reviewer Review Type Date Requested Status
Loggerhead Reviewers Pending
Review via email: mp+451483@code.launchpad.net

Description of the change

Migrate to pyproject.toml

To post a comment you must log in.

Unmerged revisions

549. By Jelmer Vernooij

Migrate to pyproject.toml

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'pyproject.toml'
2--- pyproject.toml 1970-01-01 00:00:00 +0000
3+++ pyproject.toml 2023-09-17 11:20:06 +0000
4@@ -0,0 +1,58 @@
5+[build-system]
6+requires = ["setuptools>=61.2"]
7+build-backend = "setuptools.build_meta"
8+
9+[project]
10+name = "loggerhead"
11+version = "2.0.2.dev0"
12+description = "Loggerhead is a web viewer for projects in bazaar"
13+license = {text = "GNU GPL v2 or later"}
14+maintainers = [{name = "Michael Hudson", email = "michael.hudson@canonical.com"}]
15+dependencies = [
16+ "Chameleon",
17+ "Paste>=1.6",
18+ "bleach",
19+ "breezy>=3.1",
20+ 'importlib-metadata; python_version < "3.8"',
21+ "packaging",
22+]
23+
24+[project.readme]
25+file = "README.rst"
26+content-type = "text/x-rst"
27+
28+[project.optional-dependencies]
29+proxied = ["PasteDeploy>=1.3"]
30+flup = ["flup"]
31+
32+[tool.setuptools]
33+script-files = ["loggerhead-serve"]
34+packages = [
35+ "breezy.plugins.loggerhead",
36+ "loggerhead",
37+ "loggerhead.apps",
38+ "loggerhead.controllers",
39+ "loggerhead.middleware",
40+ "loggerhead.templates",
41+]
42+package-dir = {"breezy.plugins.loggerhead" = "."}
43+include-package-data = false
44+
45+[project.urls]
46+repository = "https://launchpad.net/loggerhead"
47+
48+[tool.setuptools.data-files]
49+"share/man/man1" = ["loggerhead-serve.1"]
50+"share/doc/loggerhead" = [
51+ "apache-loggerhead.conf",
52+ "breezy.conf",
53+ "loggerheadd",
54+]
55+
56+[tool.setuptools.package-data]
57+loggerhead = [
58+ "static/css/*.css",
59+ "static/images/*",
60+ "static/javascript/*.js",
61+ "templates/*.pt",
62+]
63
64=== removed file 'setup.cfg'
65--- setup.cfg 2022-09-01 15:47:31 +0000
66+++ setup.cfg 1970-01-01 00:00:00 +0000
67@@ -1,66 +0,0 @@
68-# Copyright (C) 2008-2022 Canonical Ltd.
69-#
70-# This program is free software; you can redistribute it and/or modify
71-# it under the terms of the GNU General Public License as published by
72-# the Free Software Foundation; either version 2 of the License, or
73-# (at your option) any later version.
74-#
75-# This program is distributed in the hope that it will be useful,
76-# but WITHOUT ANY WARRANTY; without even the implied warranty of
77-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
78-# GNU General Public License for more details.
79-#
80-# You should have received a copy of the GNU General Public License
81-# along with this program; if not, write to the Free Software
82-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
83-
84-[metadata]
85-name = loggerhead
86-version = 2.0.2.dev0
87-description = Loggerhead is a web viewer for projects in bazaar
88-long_description = file: README.rst
89-long_description_content_type = text/x-rst
90-license = GNU GPL v2 or later
91-maintainer = Michael Hudson
92-maintainer_email = michael.hudson@canonical.com
93-
94-[options]
95-scripts =
96- loggerhead-serve
97-packages =
98- breezy.plugins.loggerhead
99- loggerhead
100- loggerhead.apps
101- loggerhead.controllers
102- loggerhead.middleware
103- loggerhead.templates
104-package_dir =
105- breezy.plugins.loggerhead=.
106-install_requires =
107- Chameleon
108- Paste>=1.6
109- bleach
110- breezy>=3.1
111- importlib-metadata; python_version < "3.8"
112- packaging
113-
114-[options.data_files]
115-share/man/man1 =
116- loggerhead-serve.1
117-share/doc/loggerhead =
118- apache-loggerhead.conf
119- breezy.conf
120- loggerheadd
121-
122-[options.extras_require]
123-proxied =
124- PasteDeploy>=1.3
125-flup =
126- flup
127-
128-[options.package_data]
129-loggerhead =
130- static/css/*.css
131- static/images/*
132- static/javascript/*.js
133- templates/*.pt

Subscribers

People subscribed via source and target branches