-
Notifications
You must be signed in to change notification settings - Fork 40
/
pyproject.toml
80 lines (71 loc) · 1.86 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "py2pack"
description = "Generate distribution packages from PyPI"
readme = "README.rst"
license = {file = "LICENSE"}
authors = [
{name = "Sascha Peilicke", email = "[email protected]"},
{name = "Thomas Bechtold", email = "[email protected]"},
]
maintainers = [
{name = "Paolo Perego", email = "[email protected]"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Pre-processors",
]
dependencies = [
"Jinja2",
"backports.entry_points_selectable",
"build",
"setuptools",
"metaextract",
"platformdirs",
"packaging",
"pypi-search",
"requests",
"tomli; python_version < '3.11'",
]
requires-python = ">=3.6"
dynamic = ['version']
[project.urls]
homepage = "http://github.com/openSUSE/py2pack"
[project.scripts]
py2pack = "py2pack:main"
[tool.hatch.version]
path = "py2pack/version.py"
[tool.hatch.build.targets.sdist]
include = [
"py2pack/",
"test/",
"doc/",
"test-requirements.txt",
"tox.ini"
]
[tool.hatch.envs.doc]
dependencies = [
"Sphinx>=1.2.1",
"sphinxcontrib.programoutput"
]
[tool.hatch.envs.doc.scripts]
clean = "rm -rf doc/build"
build = "sphinx-build -b html -W doc/source doc/build"
open = "python -m http.server --directory doc/build"
[tool.hatch.envs.updatespdx]
dependencies = [
"lxml[cssselect]",
"requests",
]
[tool.hatch.envs.updatespdx.scripts]
update = "python tools/update-spdx.py"