-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I use a wheel, that is not on PYPI, so I have to include it with pycrucible. This wheel does not include the entrypoint.
As soon as I included that wheel, the launcher fails to start the the main entrypoint (because he looks for it in in the wheel).
Debug: [main.run_extracted_project] - Debug mode enabled
Debug: [main.run_extracted_project] - Ensuring UV is available
Debug: [uv_handler.find_or_download_uv] - Looking for uv
Debug: [uv_handler.find_or_download_uv] - Current working directory: "C:\\temp\\test"
Debug: `which` returned uv path, using it
Debug: [uv_handler.find_or_download_uv] - uv found locally [Ok("\\\\?\\C:\\Users\\ruedi\\.local\\bin\\uv.exe")], using it
Debug: [main.run_extracted_project] - Applied environment variables from configuration
Debug: [main.run_extracted_project] - Using entry point: main.py
Debug: [main.run_extracted_project] - Preparing pre and post hooks from configuration
Debug: [main.run_extracted_project] - Determined run mode: wheel
Debug: [main.run_extracted_project] - Running main project
Debug: [main.run_extracted_project] - Running in wheel mode
error: Failed to spawn: `main.py`
Caused by: program not found
Error: Custom { kind: Other, error: "uv run failed" }
pyproject.toml
[project]
name = "crucibletest"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.14"
dependencies = [
"requests>=2.32.5",
]
[dependency-groups]
dev = [
"pycrucible>=0.4.3",
]
[tool.pycrucible]
entrypoint = "main.py"
[tool.pycrucible.patterns]
include = [
"main.py",
"whl/PySimpleGUI-4.60.5-py3-none-any.whl"
]
exclude = [
"crucibletest.exe",
"pycrucible_payload/**",
".venv/**"
]
Note: main.py is actually unpacked to pycrucible_payload. It is just not started.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels