bakefile 0.0.11__tar.gz → 0.0.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bakefile-0.0.11 → bakefile-0.0.12}/PKG-INFO +1 -1
- {bakefile-0.0.11 → bakefile-0.0.12}/pyproject.toml +1 -1
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/run/run.py +7 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/space/python.py +0 -5
- {bakefile-0.0.11 → bakefile-0.0.12}/README.md +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/bakebook/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/bakebook/bakebook.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/bakebook/decorator.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/bakebook/get.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bake/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bake/__main__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bake/main.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bake/reinvocation.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/__main__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/add_inline.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/export.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/find_python.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/init.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/lint.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/main.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/bakefile/uv.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/common/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/common/app.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/common/context.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/common/exception_handler.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/common/obj.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/common/params.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/utils/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/cli/utils/version.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/manage/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/manage/add_inline.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/manage/find_python.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/manage/lint.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/manage/run_uv.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/manage/write_bakefile.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/py.typed +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/samples/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/samples/simple.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/console.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/logger/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/logger/capsys.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/logger/setup.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/logger/utils.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/params.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/run/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/run/script.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/run/splitter.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/run/uv.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/ui/style.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/utils/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/utils/constants.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/utils/exceptions.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bake/utils/settings.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/environ/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/environ/bakebook.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/environ/base.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/environ/get_bakebook.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/environ/presets.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/refreshable_cache/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/refreshable_cache/cache.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/refreshable_cache/exceptions.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/space/__init__.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/space/base.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/space/lib.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/space/python_lib.py +0 -0
- {bakefile-0.0.11 → bakefile-0.0.12}/src/bakelib/space/utils.py +0 -0
|
@@ -410,6 +410,13 @@ def _prepare_subprocess_env(env: dict[str, str] | None = None) -> dict[str, str]
|
|
|
410
410
|
merged_env.update(env)
|
|
411
411
|
merged_env.setdefault("FORCE_COLOR", "1")
|
|
412
412
|
merged_env.setdefault("CLICOLOR_FORCE", "1")
|
|
413
|
+
|
|
414
|
+
# Disable progress indicators for tools that support it
|
|
415
|
+
merged_env.setdefault("UV_NO_PROGRESS", "1") # uv
|
|
416
|
+
merged_env.setdefault("NPM_CONFIG_PROGRESS", "false") # npm
|
|
417
|
+
merged_env.setdefault("PIP_PROGRESS_BAR", "off") # pip
|
|
418
|
+
merged_env.setdefault("CARGO_TERM_PROGRESS_WHEN", "never") # cargo
|
|
419
|
+
|
|
413
420
|
try:
|
|
414
421
|
terminal_size = os.get_terminal_size()
|
|
415
422
|
merged_env.setdefault("COLUMNS", str(terminal_size.columns))
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import os
|
|
2
1
|
from pathlib import Path
|
|
3
2
|
|
|
4
3
|
from bake import Context, params
|
|
@@ -16,10 +15,6 @@ def _get_python_version() -> str | None:
|
|
|
16
15
|
|
|
17
16
|
|
|
18
17
|
class PythonSpace(BaseSpace):
|
|
19
|
-
def __init__(self) -> None:
|
|
20
|
-
super().__init__()
|
|
21
|
-
os.environ["UV_NO_PROGRESS"] = "true"
|
|
22
|
-
|
|
23
18
|
def _get_tools(self) -> dict[str, ToolInfo]:
|
|
24
19
|
tools = super()._get_tools()
|
|
25
20
|
tools["python"] = ToolInfo(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|