Skip to content

Commit 0adc6a3

Browse files
fix: Install app, run app, workflow Pull Request
1 parent f32dc4e commit 0adc6a3

8 files changed

Lines changed: 10 additions & 25 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install -r requirements.txt
29-
pip install pytest pytest-cov
30-
31-
- name: Run tests
32-
run: |
33-
pytest tests/ -v --cov=rightnow_cli --cov-report=term-missing
28+
pip install -e .
29+
pip install -e ".[dev]"
3430
3531
- name: Test installation
3632
run: |

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Thank you for your interest in contributing to RightNow CLI! We welcome contribu
1313

1414
3. Install development dependencies:
1515
```bash
16-
pip install -r requirements-dev.txt
1716
pip install -e .
1817
```
1918

INSTALLATION.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ For the latest development version:
6161
git clone https://github.com/RightNow-AI/rightnow-cli.git
6262
cd rightnow-cli
6363

64-
# Install dependencies
65-
pip install -r requirements.txt
66-
6764
# Install the package
6865
pip install -e .
6966
```
@@ -83,7 +80,7 @@ source rightnow-env/bin/activate
8380
rightnow-env\Scripts\activate
8481

8582
# Install RightNow CLI
86-
pip install rightnow-cli
83+
pip install -e .
8784
```
8885

8986
### Method 4: Using Docker (Coming Soon)

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Include package data
22
include README.md
33
include LICENSE
4-
include requirements.txt
54
include pyproject.toml
65

76
# Include configuration templates

install.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,6 @@ function Install-FromSource {
179179

180180
Set-Location "rightnow-cli"
181181

182-
# Install dependencies
183-
Write-Info "Installing dependencies..."
184-
& $PythonCmd -m pip install --user -r requirements.txt | Out-Null
185-
186182
# Install package
187183
Write-Info "Installing package..."
188184
& $PythonCmd -m pip install --user -e . | Out-Null

install.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ VENV_DIR="$HOME/.rightnow-cli"
2121
print_banner() {
2222
echo ""
2323
echo -e "${CYAN}╔════════════════════════════════════════════════╗${NC}"
24-
echo -e "${CYAN}${GREEN}RightNow CLI Installer${CYAN} ${NC}"
24+
echo -e "${CYAN}${GREEN}RightNow CLI Installer${CYAN}${NC}"
2525
echo -e "${CYAN}║ GPU-Native AI Code Editor ║${NC}"
2626
echo -e "${CYAN}╚════════════════════════════════════════════════╝${NC}"
2727
echo ""
@@ -150,10 +150,6 @@ install_from_source() {
150150
if git clone https://github.com/$REPO.git; then
151151
cd rightnow-cli
152152

153-
# Install dependencies
154-
print_info "Installing dependencies..."
155-
$PYTHON_CMD -m pip install --user -r requirements.txt
156-
157153
# Install package
158154
print_info "Installing package..."
159155
$PYTHON_CMD -m pip install --user -e .

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ classifiers = [
2626
]
2727
keywords = ["gpu", "cuda", "optimization", "kernel", "ai", "performance", "rightnow", "code-editor", "nvidia", "assistant"]
2828
dependencies = [
29+
"pydantic==2.12.0",
30+
"backoff>=2.2.1",
2931
"requests>=2.31.0",
3032
"rich>=13.5.0",
3133
"prompt-toolkit>=3.0.0",

rightnow_cli/ui/setup_wizard.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,13 @@ def show_compiler_status(config_manager: ConfigManager):
267267
# Get configured paths
268268
compiler_paths = {}
269269
if config.cuda.compiler_paths:
270-
if config.cuda.compiler_paths.nvcc:
270+
if 'nvcc' in config.cuda.compiler_paths and config.cuda.compiler_paths['nvcc']:
271271
compiler_paths['nvcc'] = config.cuda.compiler_paths.nvcc
272-
if config.cuda.compiler_paths.cl:
272+
if 'cl' in config.cuda.compiler_paths and config.cuda.compiler_paths['cl']:
273273
compiler_paths['cl'] = config.cuda.compiler_paths.cl
274-
if config.cuda.compiler_paths.ncu:
274+
if 'ncu' in config.cuda.compiler_paths and config.cuda.compiler_paths['ncu']:
275275
compiler_paths['ncu'] = config.cuda.compiler_paths.ncu
276-
if config.cuda.compiler_paths.nsys:
276+
if 'nsys' in config.cuda.compiler_paths and config.cuda.compiler_paths['nsys']:
277277
compiler_paths['nsys'] = config.cuda.compiler_paths.nsys
278278

279279
# Detect with configured paths

0 commit comments

Comments
 (0)