Skip to content

Commit f408fee

Browse files
committed
update cmd completion
1 parent 278e553 commit f408fee

File tree

5 files changed

+29
-2
lines changed

5 files changed

+29
-2
lines changed

.github/workflows/minimal-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
source .venv/bin/activate
3434
pip install --upgrade pip setuptools wheel
3535
36-
# Install the package in editable mode with verbose output
37-
pip install -e . -v
36+
# Add project to Python path instead of installing
37+
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
3838
3939
# Install dev dependencies
4040
pip install -r tools/requirements.txt

pip.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[global]
2+
# Keep build artifacts out of project root
3+
build = /tmp
4+
5+
[install]
6+
# Use editable installs sparingly and with custom egg location
7+
egg-info-dir = .venv

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
requires = ["setuptools>=45", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.setuptools]
6+
# Place egg-info and build artifacts in .venv
7+
build-dir = ".venv/build"
8+
59
[project]
610
name = "core-cli"
711
dynamic = ["version"]

setup.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[egg_info]
2+
# Place egg-info in .venv to keep project root clean
3+
egg_base = .venv
4+
5+
[build]
6+
# Use .venv for build artifacts
7+
build_base = .venv/build
8+
9+
[bdist_wheel]
10+
# Place wheel distributions in .venv
11+
bdist_dir = .venv/dist
12+
13+
[install]
14+
# Install packages to .venv
15+
prefix = .venv

setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ install_deps() {
121121

122122
# Configure pip to use temp directory for build artifacts
123123
export PIP_BUILD=/tmp/pip-build-$$
124+
export PIP_EGG_INFO_DIR="$VENV_DIR"
124125

125126
# Install dependencies from tools/requirements.txt (NOT as a package)
126127
log "Installing dependencies..."

0 commit comments

Comments
 (0)