-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (56 loc) · 1.67 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
[build-system]
# hatchling < 1.17.1 won't work with editable installs and user defined pth files
requires = ["hatchling>=1.17.1"]
build-backend = "hatchling.build"
[project]
name = "sourceprotected"
description = "Encrypt Python source files and decrypt them on the fly during runtime"
authors = [
{name = "Viicos", email = "65306057+Viicos@users.noreply.github.com"}
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed"
]
dependencies = [
"cryptography>=35.0.0"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/Viicos/sourceprotected"
Source = "https://github.com/Viicos/sourceprotected"
Changelog = "https://github.com/Viicos/sourceprotected/blob/main/CHANGELOG.md"
[project.scripts]
sourceprotected = "sourceprotected.cli:cli"
[tool.hatch.version]
path = "src/sourceprotected/__init__.py"
[tool.hatch.build]
sources = ["src"]
[tool.hatch.build.targets.wheel.force-include]
"src/sourceprotected.pth" = "register_sourceprotected.pth"
[tool.black]
line-length = 90
[tool.ruff]
select = [
"E", # pycodestyle (E)
"W", # pycodestyle (W)
"F", # Pyflakes
"UP", # pyupgrade
"I", # isort
"PL", # Pylint
]
line-length = 90
src = ["src"]
ignore = ["PLR0912"]
[tool.ruff.isort]
known-first-party = ["sourceprotected"]