mtkclient/pyproject.toml
Li Hua d33084146d
Update pyproject.toml
Fix ModuleNotFoundError
```bash
$ mtk --help
Traceback (most recent call last):
  File "/usr/bin/mtk", line 5, in <module>
    from mtk import main
ModuleNotFoundError: No module named 'mtk'
```
```bash
$ mtk_gui   
Traceback (most recent call last):
  File "/usr/bin/mtk_gui", line 5, in <module>
    from mtk_gui import main
ModuleNotFoundError: No module named 'mtk_gui'
```
```bash
$ stage2 --help
Traceback (most recent call last):
  File "/usr/bin/stage2", line 5, in <module>
    from stage2 import main
ModuleNotFoundError: No module named 'stage2'
```
2024-05-28 13:38:40 +08:00

45 lines
1.1 KiB
TOML

[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "mtkclient"
description = "Mediatek reverse engineering and flashing tools"
maintainers = [
{name = "Bjoern Kerler", email = "info@revskills.de"}
]
readme = "README.md"
license = {file = "LICENSE"}
version = "2.0.0"
requires-python = ">= 3.8"
dependencies = [
"pyusb",
"pycryptodome",
"pycryptodomex",
"colorama",
"shiboken6",
"pyside6",
"mock",
"pyserial",
"fusepy"
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
keywords = ["mediatek", "mtk", "flashing", "reverse engineering", "firmware"]
[project.urls]
Repository = "https://github.com/bkerler/mtkclient.git"
Issues = "https://github.com/bkerler/mtkclient/issues"
[tool.setuptools]
# See also the MANIFEST.in file.
# We want to install all the files in the package directories...
include-package-data = true
script-files = ["mtk", "stage2", "mtk_gui"]