Transfer is working, added tooling, debug scripts
This commit is contained in:
+29
-2
@@ -7,17 +7,44 @@ authors = [
|
||||
]
|
||||
license = { text = "MIT" }
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.8"
|
||||
requires-python = ">=3.13,<3.15"
|
||||
dependencies = ["requests>=2.32.4,<3.0.0"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8"
|
||||
python = ">=3.13,<3.15"
|
||||
requests = ">=2.32.4,<3.0.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
# Main application entry point
|
||||
android-file-handler = "src.main:main"
|
||||
|
||||
# Development and maintenance scripts
|
||||
dev = "python src/main.py"
|
||||
gui = "python src/gui.py"
|
||||
test-adb = "python -c 'from src.adb_manager import ADBManager; m = ADBManager(); print(f\"ADB Available: {m.check_device()}\")"
|
||||
clean-adb = "python -c 'import shutil, os; shutil.rmtree(\"src/platform-tools\", ignore_errors=True); print(\"ADB cache cleared\")'"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
black = "^25.1.0"
|
||||
mypy = "^1.5.0"
|
||||
pylint = "^3.3.8"
|
||||
pytest = "^8.4.1"
|
||||
pyinstaller = "^6.15.0"
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py313']
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.13"
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
disallow_untyped_defs = true
|
||||
|
||||
[tool.poetry]
|
||||
package-mode = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user