-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
45 lines (40 loc) · 1.2 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
[build-system]
requires = ["setuptools==67.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "randmac"
version = "0.2.0"
description = "randmac is a utility that generates 12-digit mac addresses"
readme = "README.md"
authors = [{ name = "Josh Schmelzle", email = "[email protected]"}]
license = { file = "LICENSE" }
classifiers = [
"Natural Language :: English",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.2",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Utilities",
]
keywords = ["randmac", "random mac", "random mac address"]
[project.scripts]
randmac = "randmac.__main__:main"
[project.optional-dependencies]
build = ["build", "twine"]
dev = ["black", "bumpver", "isort", "mypy", "pytest"]
[tool.bumpver]
current_version = "0.2.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = false
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"',
]
"randmac/__version__.py" = [
'__version__ = "{version}"'
]