mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:20:10 +01:00
This removes the need to install any specific version of Python or figure out how to configure it by instead asking users to install `uv` and letting it manage Python. Among other advantages, `uv` is designed to be fast enough to embed directly into our scripts. We were already using this in `bench_runner.py` so that the script could import non standard library dependencies. Moving to it for the rest of our Python unifies the approach and will also enable dependencies whenever needed. I've left `github_tools` alone as it has special handling with its own Bazel setup. I've updated the contributing tools to explain the approach here.
53 lines
1.1 KiB
Plaintext
53 lines
1.1 KiB
Plaintext
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
# Directories and symlinks generated by bazel.
|
|
/bazel-*
|
|
|
|
# See github_tools/MODULE.bazel.
|
|
/github_tools/bazel-*
|
|
/github_tools/MODULE.bazel.lock
|
|
|
|
# We also have example Bazel projects that shouldn't have their implementation
|
|
# details committed.
|
|
/examples/**/bazel-*
|
|
/examples/**/MODULE.bazel.lock
|
|
|
|
# Files and directories created by python.
|
|
uv.lock
|
|
**/__pycache__/
|
|
|
|
# Ignore the user's VSCode settings and debug setup.
|
|
/.vscode/settings.json
|
|
/.vscode/launch.json
|
|
|
|
# Ignore the user's Idea settings.
|
|
/.idea/
|
|
|
|
# Directories created by clangd
|
|
/.cache/clangd
|
|
|
|
# User-specific Bazel configuration.
|
|
/user.bazelrc
|
|
|
|
# Compilation database used by clangd
|
|
/compile_commands.json
|
|
|
|
# Emacs temporary files
|
|
*~
|
|
\#*\#
|
|
|
|
# vim temporary files
|
|
.*.sw[a-p]
|
|
.swp
|
|
|
|
# generated by utils/tree_sitter/helix.sh
|
|
/.helix/
|
|
|
|
# Ignore .DS_Store files
|
|
.DS_Store
|
|
|
|
# Ignore the .gdb_history that's created next to the project-specific .gdbinit
|
|
.gdb_history
|