forked from johnsamuelwrites/multilingual
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (85 loc) · 2.36 KB
/
pyproject.toml
File metadata and controls
95 lines (85 loc) · 2.36 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "multilingualprogramming"
dynamic = ["version"]
description = "Python application for multilingual programming"
readme = "README.md"
license = {text = "GPL-3.0-or-later"}
requires-python = ">=3.12"
keywords = [
"programming-language",
"multilingual",
"compiler",
"transpiler",
"education",
]
authors = [
{name = "John Samuel", email = "johnsamuelwrites@example.com"},
]
classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Interpreters",
"Development Status :: 4 - Beta",
]
dependencies = [
"roman>=3.3",
"python-dateutil>=2.8",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pylint",
]
wasm = [
"wasmtime>=1.0.0",
]
performance = [
"wasmtime>=1.0.0",
"numpy>=1.20.0",
]
[project.scripts]
multilingual = "multilingualprogramming.__main__:main"
multilg = "multilingualprogramming.__main__:main"
[project.urls]
Homepage = "https://github.com/johnsamuelwrites/multilingual"
Documentation = "https://johnsamuel.info/multilingual/"
Repository = "https://github.com/johnsamuelwrites/multilingual"
Issues = "https://github.com/johnsamuelwrites/multilingual/issues"
Changelog = "https://github.com/johnsamuelwrites/multilingual/blob/main/CHANGELOG.md"
[tool.setuptools.packages.find]
include = ["multilingualprogramming*"]
[tool.setuptools.dynamic]
version = {attr = "multilingualprogramming.version.__version__"}
[tool.setuptools.package-data]
multilingualprogramming = [
"resources/*/*.json",
"resources/*/*/*.json",
"wasm/*.wasm",
"wasm/*.so",
"wasm/*.dll",
"wasm/*.dylib",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.multilingual.wasm]
# WASM Configuration for Performance
enabled = true
backend = "cranelift"
memory_pages = 1024 # 64MB per page
compiler = "wasmtime"
fallback_python = true
[tool.multilingual.performance]
# Performance tuning options
vectorization = "enabled"
simd = "enabled"
parallel = "auto"
cache_wasm_modules = true
numpy_acceleration = true