Skip to content

Commit

Permalink
Switched from autoit to pyperclip
Browse files Browse the repository at this point in the history
  • Loading branch information
smartycope committed Aug 16, 2024
1 parent 03e9453 commit 2929274
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can also redirect the output to a file to create a new file with the compile
$ python -m pyndustric yourprogram.py > yourprogram.mlog
```

If the optional dependency `autoit` is installed, `-c` or `--clipboard` can be used to
If the optional dependency `pyperclip` is installed, `-c` or `--clipboard` can be used to
automatically copy the code to the clipboard which allows for very fast edit cycles:

```sh
Expand Down
2 changes: 1 addition & 1 deletion optional-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
autoit==0.2
pyperclip==1.8.2
4 changes: 2 additions & 2 deletions pyndustric/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def main():
)

if args.clipboard:
import ait
import pyperclip

ait.copy(complete_masm)
pyperclip.copy(complete_masm)


if __name__ == "__main__":
Expand Down

0 comments on commit 2929274

Please sign in to comment.