diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea2dc39..bfa9669 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,14 +25,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - pip install pytest pytest-cov - - - name: Run tests - run: | - pytest tests/ -v --cov=rightnow_cli --cov-report=term-missing + pip install -e . + pip install -e ".[dev]" - name: Test installation run: | pip install -e . - rightnow --version \ No newline at end of file + rightnow --help \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 751e4fe..198bd42 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,7 +13,6 @@ Thank you for your interest in contributing to RightNow CLI! We welcome contribu 3. Install development dependencies: ```bash - pip install -r requirements-dev.txt pip install -e . ``` diff --git a/INSTALLATION.md b/INSTALLATION.md index a69a202..c86dffc 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -61,9 +61,6 @@ For the latest development version: git clone https://github.com/RightNow-AI/rightnow-cli.git cd rightnow-cli -# Install dependencies -pip install -r requirements.txt - # Install the package pip install -e . ``` @@ -83,7 +80,7 @@ source rightnow-env/bin/activate rightnow-env\Scripts\activate # Install RightNow CLI -pip install rightnow-cli +pip install -e . ``` ### Method 4: Using Docker (Coming Soon) diff --git a/MANIFEST.in b/MANIFEST.in index f389ab0..dfcf292 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,6 @@ # Include package data include README.md include LICENSE -include requirements.txt include pyproject.toml # Include configuration templates diff --git a/install.ps1 b/install.ps1 index ed35cf6..1d528ad 100644 --- a/install.ps1 +++ b/install.ps1 @@ -179,10 +179,6 @@ function Install-FromSource { Set-Location "rightnow-cli" - # Install dependencies - Write-Info "Installing dependencies..." - & $PythonCmd -m pip install --user -r requirements.txt | Out-Null - # Install package Write-Info "Installing package..." & $PythonCmd -m pip install --user -e . | Out-Null diff --git a/install.sh b/install.sh index d76876e..16ff85b 100644 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ VENV_DIR="$HOME/.rightnow-cli" print_banner() { echo "" echo -e "${CYAN}╔════════════════════════════════════════════════╗${NC}" - echo -e "${CYAN}║ ${GREEN}RightNow CLI Installer${CYAN} ║${NC}" + echo -e "${CYAN}║ ${GREEN}RightNow CLI Installer${CYAN} ║${NC}" echo -e "${CYAN}║ GPU-Native AI Code Editor ║${NC}" echo -e "${CYAN}╚════════════════════════════════════════════════╝${NC}" echo "" @@ -150,10 +150,6 @@ install_from_source() { if git clone https://github.com/$REPO.git; then cd rightnow-cli - # Install dependencies - print_info "Installing dependencies..." - $PYTHON_CMD -m pip install --user -r requirements.txt - # Install package print_info "Installing package..." $PYTHON_CMD -m pip install --user -e . diff --git a/pyproject.toml b/pyproject.toml index a89a64d..485abb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,8 @@ classifiers = [ ] keywords = ["gpu", "cuda", "optimization", "kernel", "ai", "performance", "rightnow", "code-editor", "nvidia", "assistant"] dependencies = [ + "pydantic==2.12.0", + "backoff>=2.2.1", "requests>=2.31.0", "rich>=13.5.0", "prompt-toolkit>=3.0.0", diff --git a/rightnow_cli/ui/setup_wizard.py b/rightnow_cli/ui/setup_wizard.py index ff85877..fd4def3 100644 --- a/rightnow_cli/ui/setup_wizard.py +++ b/rightnow_cli/ui/setup_wizard.py @@ -267,13 +267,13 @@ def show_compiler_status(config_manager: ConfigManager): # Get configured paths compiler_paths = {} if config.cuda.compiler_paths: - if config.cuda.compiler_paths.nvcc: + if 'nvcc' in config.cuda.compiler_paths and config.cuda.compiler_paths['nvcc']: compiler_paths['nvcc'] = config.cuda.compiler_paths.nvcc - if config.cuda.compiler_paths.cl: + if 'cl' in config.cuda.compiler_paths and config.cuda.compiler_paths['cl']: compiler_paths['cl'] = config.cuda.compiler_paths.cl - if config.cuda.compiler_paths.ncu: + if 'ncu' in config.cuda.compiler_paths and config.cuda.compiler_paths['ncu']: compiler_paths['ncu'] = config.cuda.compiler_paths.ncu - if config.cuda.compiler_paths.nsys: + if 'nsys' in config.cuda.compiler_paths and config.cuda.compiler_paths['nsys']: compiler_paths['nsys'] = config.cuda.compiler_paths.nsys # Detect with configured paths