-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
68 lines (60 loc) · 2.15 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
[build-system]
requires = ["setuptools>=61.0", "babel"]
build-backend = "setuptools.build_meta"
[project]
name = "shithappens"
version = "3.0.2"
authors = [
{name="Siem de Jong"},
]
description = "Create your own Shit Happens playing cards!"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"matplotlib",
"pandas",
"openpyxl", # For pandas to open excel files.
]
license = {file = "LICENSE"}
keywords = ["shit happens", "card-game"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Matplotlib",
"Intended Audience :: Developers",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
'Programming Language :: Python :: 3 :: Only',
"Programming Language :: Python :: 3.11",
"Topic :: Games/Entertainment :: Board Games",
"Typing :: Typed",
]
[project.urls]
"Homepage" = "https://github.com/siemdejong/shit-happens"
"Bug Tracker" = "https://github.com/siemdejong/shit-happens/issues"
[project.scripts]
shithappens = "shithappens.cli:cli"
[project.optional-dependencies]
pbar = ["tqdm"]
merge = ["PyPDF2"]
all = ["tqdm", "PyPDF2"]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["shithappens.opensans"]
namespaces = false
[tool.setuptools.package-data]
shithappens = ["opensans/fonts/ttf/*.ttf", "images/*.png", "locales/*/LC_MESSAGES/*.mo"]
[tool.semantic_release]
version_variable = "pyproject.toml:version" # version location
branch = "main" # branch to make releases of
changelog_file = "CHANGELOG.md" # changelog file
build_command = "python -m build" # build dists
dist_path = "dist/" # where to put dists
dist_glob_patterns = ["*.whl", "*.tar.gz", "*.zip"]
upload_to_release = true # auto-create GitHub release
upload_to_pypi = false # don't auto-upload to PyPI
remove_dist = false # don't remove dists
patch_without_tag = true # patch release by default