-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (59 loc) · 1.79 KB
/
pyproject.toml
File metadata and controls
71 lines (59 loc) · 1.79 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
[tool.black]
line-length = 80
force-exclude = '''
/grazr/ui/resources_rc\.py$
'''
[tool.isort]
profile = "black"
line_length = 80
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
[tool.flake8]
max-line-length = 80
extend-ignore = "E203,W503"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
exclude = 'grazr/ui/resources_rc\.py'
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["grazr"]
[tool.ruff]
line-length = 80
select = ["E", "F", "I", "UP"]
ignore = ["E501"]
[build-system]
# Specifies build tools pip needs to install your package
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
# Basic info about your project
name = "grazr"
version = "0.1.0-alpha"
description = "GUI Helper for managing local development services."
requires-python = ">=3.10" # Specify your minimum Python version
# Add license later if needed: license = { text = "MIT License" }
# Add dependencies here if they are NOT just for the GUI
# dependencies = []
[project.optional-dependencies]
# Dependencies needed only for the GUI part
gui = [
"PySide6 >=6.6.0, <7.0.0", # Or your specific version
]
# Optional: Define entry points if you want installable commands later
# [project.scripts]
# grazr-cli = "grazr.cli:main_cli_function_name" # Example
[tool.setuptools.packages.find]
# Tells setuptools where to find your main package code
# Assumes your package ('grazr') is directly under the root where pyproject.toml is
where = ["."] # Look in the current directory (project root)
include = ["grazr*"] # Include the 'grazr' package and sub-packages
exclude = ["venv*", "tests*"] # Exclude virtual environment, tests