-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (83 loc) · 4.25 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (83 loc) · 4.25 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# This is the configuration file for the Poetry dependency manager.
#
# [tool.poetry]
# - `name`: The name of the Python package.
# - `version`: The current version of the package.
# - `description`: A brief description of the package's purpose.
# - `packages`: Specifies the package(s) to include in the distribution. Here, it includes the "nv200" package.
# - `authors`: A list of authors or maintainers of the package.
# - `readme`: The file containing the long description of the package, typically displayed on package repositories.
# - `include`: Specifies additional files or directories to include in the package distribution. In this case, all files in the "examples" directory and its subdirectories are included.
[tool.poetry]
name = "qtass-pyside6"
version = "0.0.1"
description = "Python version of Qt Advanced Styplesheets Library"
packages = [{include = "qtass"}]
authors = ["Uwe Kindler"]
readme = "README_PYPI.md"
#include = ["examples/**/*"]
classifiers = [
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers"
]
[tool.poetry.urls]
Homepage = "https://gitlab.com/gitlabuser0xFFFF/nv200_python_lib"
Source = "https://gitlab.com/gitlabuser0xFFFF/nv200_python_lib"
"Bug Tracker" = "https://gitlab.com/gitlabuser0xFFFF/nv200_python_lib/-/issues"
Documentation = "https://nv200-python-lib-e9158a.gitlab.io/"
[tool.poetry.dependencies]
# This section specifies the dependencies for the project managed by Poetry.
# - python: Requires Python version 3.12 or higher, but lower than 3.14.
# - pyside6: Adds support for Qt for Python (PySide6) version 6.9.0 or higher.
# - jinja2: Includes the Jinja2 templating engine, version 3.1.6 or higher.
python = "^3.12,<3.14"
pyside6 = "^6.9.0"
jinja2 = "^3.1.6"
[tool.poetry.group.dev.dependencies]
# This section defines the development dependencies for the project using Poetry's
# dependency grouping feature. The `[tool.poetry.group.dev.dependencies]` table
# specifies packages required for development purposes, particularly for
# documentation generation and theming:
#
# - `sphinx`: A tool for generating documentation, version 8.2.3 or compatible.
# - `sphinx-rtd-theme`: The Read the Docs theme for Sphinx, version 3.0.2 or compatible.
# - `sphinx-rtd-dark-mode`: Adds dark mode support to the Read the Docs theme, version 1.3.0 or compatible.
# - `sphinx-fontawesome`: Enables the use of Font Awesome icons in Sphinx documentation, version 0.0.6 or compatible.
sphinx = "^8.2.3"
sphinx-rtd-theme = "^3.0.2"
sphinx-rtd-dark-mode = "^1.3.0"
sphinx-fontawesome = "^0.0.6"
sphinx-togglebutton = "^0.3.2"
tomlkit = "^0.13.2"
sphinxcontrib-napoleon = "^0.7"
[build-system]
# This section defines the build system requirements for the project.
# - The `requires` field specifies the dependencies needed to build the project.
# In this case, it requires `poetry-core` version 2.0.0 or higher, but less than 3.0.0.
# - The `build-backend` field specifies the backend used for building the project.
# Here, it is set to `poetry_dynamic_versioning.backend`, which likely integrates
# dynamic versioning functionality into the build process.
# (The previously commented-out backend was `poetry.core.masonry.api`.)
requires = ["poetry-core>=2.0.0,<3.0.0"]
#build-backend = "poetry.core.masonry.api"
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
# This section configures the "poetry-dynamic-versioning" plugin for Poetry.
# - `enable`: Enables the dynamic versioning functionality.
# - `vcs`: Specifies the version control system to use for versioning (e.g., "git").
# - `fix-shallow-repository`: Ensures compatibility with shallow Git repositories.
# - `bump`: Automatically increments the version based on changes in the repository.
# To use the plugin it needs to get installed via:
# pipx inject poetry "poetry-dynamic-versioning[plugin]
enable = true
vcs = "git"
fix-shallow-repository = true
bump = true
#format = "{base}" # <- This removes the `+local` part
dirty = false
metadata = false # <== disables the +commit-hash suffix to avoid warnings when uploading to PyPI
[tool.poetry.scripts]
# Build the Sphinx documentation using the command "poetry run build-doc".
#build-doc = "sphinx-build -b html doc/ doc/_build/"