37635fda56
## Summary Refreshes some of the activation scripts, and fixes some bugs in `activate_this.py` that were likely the rest of some erroneous copy-pasting. Closes https://github.com/astral-sh/uv/issues/3346. ## Test Plan ``` ❯ python Python 3.12.0 (main, Feb 28 2024, 09:44:16) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import httpx Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'httpx' >>> activator = '.venv/bin/activate_this.py' >>> with open(activator) as f: ... exec(f.read(), {'__file__': activator}) ... >>> import httpx ```
43 lines
1.1 KiB
TOML
43 lines
1.1 KiB
TOML
[package]
|
|
name = "uv-virtualenv"
|
|
version = "0.0.4"
|
|
publish = false
|
|
description = "virtualenv creation implemented in rust"
|
|
keywords = ["virtualenv", "venv", "python"]
|
|
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[[bin]]
|
|
name = "uv-virtualenv"
|
|
required-features = ["cli"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
platform-tags = { workspace = true }
|
|
pypi-types = { workspace = true }
|
|
uv-cache = { workspace = true }
|
|
uv-fs = { workspace = true }
|
|
uv-interpreter = { workspace = true }
|
|
uv-version = { workspace = true }
|
|
|
|
anstream = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"], optional = true }
|
|
directories = { workspace = true }
|
|
fs-err = { workspace = true }
|
|
itertools = { workspace = true }
|
|
pathdiff = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
cli = ["clap", "tracing-subscriber"]
|