forked from JHUISI/charm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (131 loc) · 3.29 KB
/
pyproject.toml
File metadata and controls
143 lines (131 loc) · 3.29 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
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
[build-system]
requires = [
"setuptools>=68.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "charm-crypto-framework"
dynamic = ["version", "license"]
description = "Charm is a framework for rapid prototyping of cryptosystems"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{ name = "J. Ayo Akinyele", email = "jakinye3@jhu.edu" }
]
maintainers = [
{ name = "J. Ayo Akinyele", email = "jakinye3@jhu.edu" }
]
keywords = [
"cryptography",
"pairing-based cryptography",
"attribute-based encryption",
"identity-based encryption",
"digital signatures",
"elliptic curves",
"bilinear pairings",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: C",
"Topic :: Security :: Cryptography",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pyparsing>=2.1.5,<4.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"hypothesis>=6.0",
"build",
"twine",
]
docs = [
"sphinx>=4.0",
"sphinx-rtd-theme",
]
[project.urls]
Homepage = "https://github.com/JHUISI/charm"
Documentation = "https://jhuisi.github.io/charm/"
Repository = "https://github.com/JHUISI/charm"
Issues = "https://github.com/JHUISI/charm/issues"
Changelog = "https://github.com/JHUISI/charm/blob/dev/CHANGELOG"
[tool.setuptools]
packages = [
"charm",
"charm.core",
"charm.core.crypto",
"charm.core.engine",
"charm.core.math",
"charm.test",
"charm.test.schemes",
"charm.test.toolbox",
"charm.toolbox",
"charm.zkp_compiler",
"charm.schemes",
"charm.schemes.ibenc",
"charm.schemes.abenc",
"charm.schemes.pkenc",
"charm.schemes.hibenc",
"charm.schemes.pksig",
"charm.schemes.commit",
"charm.schemes.grpsig",
"charm.schemes.prenc",
"charm.adapters",
]
include-package-data = true
[tool.setuptools.dynamic]
version = {file = "VERSION"}
[tool.pytest.ini_options]
testpaths = ["charm/test"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313', 'py314']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| deps
)/
'''
[tool.isort]
profile = "black"
line_length = 100
skip = ["deps", "build", ".venv"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
exclude = ["deps/", "build/", "doc/"]
# pip configuration for this project
# To use: export PIP_CONFIG_FILE=./pip.conf