forked from Spyro-Soft/scargo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
156 lines (141 loc) · 3.62 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "scargo"
description = "C/C++ package and software development life cycle manager inspired by RUST cargo idea."
authors = [{ name = "Spyrosoft Solutions S.A.", email = "aak@spyro-soft.com" }]
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Embedded Systems",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dynamic = ["version"]
keywords = ["scargo", "Package manager", "C++"]
dependencies = [
"clang==16.0.1.1",
"cmake==3.25.2",
"coloredlogs==15.0.1",
"conan==2.0.13",
"docker==6.0.1",
"esptool==4.5.1",
"jinja2==3.1.2",
"libclang==16.0.0",
"lizard==1.17.10",
"pydantic==1.10.6",
"shellingham==1.5.0.post1",
"toml==0.10.2",
"tomlkit==0.11.6",
"typer==0.9.0",
"typing-extensions==4.6.0",
"paramiko==3.3.1",
"pyyaml==6.0",
]
[project.optional-dependencies]
dev = [
"black",
"coverage~=6.0",
"flake8>=3.2.0",
"flit==3.8.0",
"gcovr>=5.2",
"isort==5.11.4",
"matplotlib",
"mypy==1.6.1",
"pre-commit",
"pyclean==2.2.0",
"pyelftools",
"pyfakefs",
"PyInstaller",
"pylint==3.0.2",
"pytest-cov",
"pytest-mock",
"pytest-subprocess",
"pytest",
"pytest-assume==2.4.3",
"pytest-xdist==3.3.1",
"pytest-order==1.1.0",
"types-clang==0.14.3",
"types-toml",
"unittest-xml-reporting",
"pyopenssl==23.2.0",
"types-pyOpenSSL==23.2.0",
"types-PyYAML==6.0.12.12",
]
doc = [
"recommonmark",
"sphinx-rtd-theme==1.1.1",
"Sphinx",
"sphinxcontrib-plantuml==0.24.1",
]
[project.urls]
Documentation = "https://spyro-soft.github.io/scargo/index.html"
Source = "https://github.com/spyro-soft/scargo"
Tracker = "https://github.com/Spyro-Soft/scargo/issues"
[project.scripts]
scargo = "scargo.cli:cli"
[tool.flit.sdist]
exclude = [
"*.py",
".*",
"docker-compose.yaml",
"tests/",
"common_dev/",
"example_project/",
"ci/",
"docs/",
]
[tool.isort]
profile = "black"
[tool.pylint]
ignore-paths = ["example_project", "tests"]
max-line-length = 120
output-format = "colorized"
[tool.pylint.messages_control]
disable = [
"C0103", # snake_case naming style, disallows names like "e" or "fs"
"C0114",
"C0115",
"C0116", # disable missing docstring rules
"R0801", # Simmilar lines
"R0902", # too many instance attributes
"R0903", # too few public methods
"R0913", # too many arguments
"W1203", # lazy % formatting in logging functions
]
[tool.pylint.extensions]
extension-pkg-whitelist = ["pydantic"]
[tool.mypy]
strict = true
disallow_any_unimported = true
no_implicit_optional = true
show_error_codes = true
explicit_package_bases = true
scripts_are_modules = false
exclude = ["conanfile.py"]
[[tool.mypy.overrides]]
module = "coloredlogs"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "docker"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "matplotlib.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "pyfakefs.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "conan.*"
ignore_missing_imports = true