Skip to content

Commit fc3a4ff

Browse files
brontoguanaclaude
andcommitted
v1.0.1: Remove Python legacy, version from Cargo.toml
- Remove ktop.py, requirements.txt, setup.sh - Clean up .gitignore (remove Python entries) - Update CLAUDE.md with Rust build instructions - Read version from Cargo.toml at compile time Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5168279 commit fc3a4ff

File tree

7 files changed

+6
-1450
lines changed

7 files changed

+6
-1450
lines changed

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
.venv/
2-
__pycache__/
3-
*.pyc
4-
*.egg-info/
5-
dist/
6-
build/
71
ktop-rs/target/
82
.snoot/

CLAUDE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11

22
Add changes you make to the changelog including tests you run.
33

4-
After making changes to ktop.py, always re-run `./setup.sh` to update the system-wide `ktop` command.
4+
After making changes to Rust source in ktop-rs/, rebuild with:
5+
cd ktop-rs && cargo build --release
6+
Then copy the binary to install locally:
7+
cp ktop-rs/target/release/ktop ~/.local/bin/ktop
58

69
**CRITICALLY IMPORTANT INSTRUCTIONS BELOW THIS LINE**
710

ktop-rs/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ktop-rs/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mod ui;
77

88
use std::env;
99

10-
const VERSION: &str = "0.9.0";
10+
const VERSION: &str = env!("CARGO_PKG_VERSION");
1111

1212
fn main() {
1313
let mut refresh = 1.0f64;

ktop.py

Lines changed: 0 additions & 1335 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

setup.sh

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)