-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
110 lines (95 loc) · 2.19 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = [
"setuptools",
"setuptools-scm[toml]>=4",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "hab_gui"
description = "GUI for user interaction to Hab."
authors = [{name = "Blur Studio", email = "[email protected]"}]
license = {text = "LGPL-3.0"}
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
requires-python = ">=3.6"
dependencies = [
"click>=7.1.2",
"hab>=0.41.0",
"Pygments",
"Qt.py",
]
# TODO We need to address how to handle PyQT and PySide installs for development
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/blurstudio/hab-gui"
Source = "https://github.com/blurstudio/hab-gui"
Tracker = "https://github.com/blurstudio/hab-gui/issues"
[project.optional-dependencies]
dev = [
"black==22.12.0",
"build",
"covdefaults",
"coverage",
"flake8==5.0.4",
"flake8-bugbear==22.12.6",
"Flake8-pyproject",
"isort",
"json5",
"pep8-naming==0.13.3",
"pytest",
"tox",
"build",
]
json5 = [
"pyjson5"
]
[project.gui-scripts]
habw = "hab.cli:cli"
[tool.setuptools]
include-package-data = true
platforms = ["any"]
license-files = ["LICENSE"]
[tool.setuptools.packages.find]
exclude = ["tests"]
namespaces = false
[tool.setuptools_scm]
write_to = "hab_gui/version.py"
version_scheme = "release-branch-semver"
# Fix me!
[tool.flake8]
select = ["B", "C", "E", "F", "N", "W", "B9"]
extend-ignore = [
"E203",
"E501",
"E722",
"W503",
]
max-line-length = "88"
exclude = [
"*.egg-info",
"*.pyc",
".cache",
".eggs",
".git",
".tox",
"__pycache__",
"build",
"dist",
".venv"
]
[tool.isort]
profile = "black"