Skip to content

Commit

Permalink
Add note about installing with idleuserextend
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolCat467 committed Oct 18, 2023
1 parent 8c97c00 commit 01a7ace
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ Python IDLE extension to align code by a regular expression

<!-- END BADGIE TIME -->

## Installation
## Installation (Without root permissions)
1) Go to terminal and install with `pip install idlealign[user]`.
2) Run command `idleuserextend; idlealign`. You should see the following
output: `Config should be good! Config should be good!`.
3) Open IDLE, go to `Options` -> `Configure IDLE` -> `Extensions`.
If everything went well, alongside `ZzDummy` there should be and
option called `idlealign`. This is where you can configure how
idlealign works.

## Installation (Legacy, needs root permission)
1) Go to terminal and install with `pip install idlealign`.
2) Run command `idlealign`. You will likely see a message saying
`idlealign not in system registered extensions!`. Run the command
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ user = ["idleuserextend~=0.0.0"]
idlealign = "idlealign:check_installed"

[tool.setuptools.package-data]
sanescansrv = ["py.typed"]
idlealign = ["py.typed"]

[tool.mypy]
mypy_path = "src"
Expand Down

0 comments on commit 01a7ace

Please sign in to comment.