forked from mozilla-conduit/review
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
49 lines (39 loc) · 1.3 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
[project]
name = "MozPhab"
description = "Phabricator review submission/management tool."
license = {file = "LICENSE"}
authors = [{name = "Mozilla", email = "[email protected]"}]
readme = "README.md"
dependencies = [
"distro",
"glean-sdk==60.*",
"packaging",
"python-hglib>=2.6.2",
"sentry-sdk>=0.14.3",
"setuptools",
"colorama>=0.4.6",
]
# Note: please change the `updater.py::check_for_updates` method if the format
# would be different than `>=x.y`.
requires-python = ">=3.8"
# Required for `setuptools_scm` when using only `pyproject.toml` (ie no `setup.cfg`).
dynamic = ["version"]
# Derive version number from version control.
[tool.setuptools_scm]
# NOTE: using setting this here instead of `setup.cfg` is a beta feature.
[tool.setuptools]
packages = ["mozphab", "mozphab.commands"]
[project.urls]
"Repository" = "https://github.com/mozilla-conduit/review"
"Bug Tracker" = "https://bugzilla.mozilla.org"
[project.scripts]
moz-phab = "mozphab.mozphab:run"
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=7.0.5",
]