diff --git a/README.md b/README.md index 629f7ca..3eaf4ee 100644 --- a/README.md +++ b/README.md @@ -17,17 +17,20 @@ It moves files to a per-user _trash_ instead of permanently deleting them, while ## Installation -Install via Poetry: +**NOTE:** To use `resrm` with `sudo`, the path to `resrm` must be in the `$PATH` seen by `root`.\ +Either install `resrm` as `root`, use `sudo -E resrm`, or add the `$PATH` to `/etc/sudoers` using its `Defaults secure_path` parameter. + +Install via PyPI: ```bash -poetry add resrm +pip install resrm ``` Or clone the repo and install locally: ```bash git clone https://github.com/mdaleo404/resrm.git -cd resrm +cd resrm/resrm poetry install ``` diff --git a/resrm/README.md b/resrm/README.md index 629f7ca..3eaf4ee 100644 --- a/resrm/README.md +++ b/resrm/README.md @@ -17,17 +17,20 @@ It moves files to a per-user _trash_ instead of permanently deleting them, while ## Installation -Install via Poetry: +**NOTE:** To use `resrm` with `sudo`, the path to `resrm` must be in the `$PATH` seen by `root`.\ +Either install `resrm` as `root`, use `sudo -E resrm`, or add the `$PATH` to `/etc/sudoers` using its `Defaults secure_path` parameter. + +Install via PyPI: ```bash -poetry add resrm +pip install resrm ``` Or clone the repo and install locally: ```bash git clone https://github.com/mdaleo404/resrm.git -cd resrm +cd resrm/resrm poetry install ``` diff --git a/resrm/pyproject.toml b/resrm/pyproject.toml index 84bf7db..af35975 100644 --- a/resrm/pyproject.toml +++ b/resrm/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "resrm" -version = "0.1.0" +version = "0.1.1" description = "drop-in replacement for rm with undo/restore built-in." authors = ["Marco D'Aleo "] license = "GPL-3.0-or-later" diff --git a/resrm/src/resrm/__pycache__/__init__.cpython-313.pyc b/resrm/src/resrm/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index bfe9e7a..0000000 Binary files a/resrm/src/resrm/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/resrm/src/resrm/__pycache__/cli.cpython-313.pyc b/resrm/src/resrm/__pycache__/cli.cpython-313.pyc deleted file mode 100644 index edc56b0..0000000 Binary files a/resrm/src/resrm/__pycache__/cli.cpython-313.pyc and /dev/null differ diff --git a/resrm/src/resrm/__pycache__/core.cpython-313.pyc b/resrm/src/resrm/__pycache__/core.cpython-313.pyc deleted file mode 100644 index 8e178df..0000000 Binary files a/resrm/src/resrm/__pycache__/core.cpython-313.pyc and /dev/null differ