Skip to content

Commit

Permalink
Moved dependency from **pyperclip3** to **pyclip**.
Browse files Browse the repository at this point in the history
  • Loading branch information
hitblast committed Jul 20, 2022
1 parent 08969ca commit c1c7606
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ avro parse -t "amar swopnera" -t "Dana mele ure cole" -t "obarito nIle."

**Additional Developer Notes**

The coding style for this project embraces readability and consistency over traditional styling methods. The unit tests are done using the [pytest](https://pypi.python.org/pypi/pytest) package. The CLI, on the other hand, is made using [Click](https://pypi.python.org/pypi/click) and the [Rich](https://github.com/Textualize/rich) framework.
The coding style for this project embraces readability and consistency over traditional styling methods. The unit tests are done using the [pytest](https://pypi.python.org/pypi/pytest) package. The CLI, on the other hand, is made using [Click](https://pypi.python.org/pypi/click) and the [Rich](https://github.com/Textualize/rich) framework. On the other hand, [PyClip](https://pypi.python.org/pypi/pyclip) has been used to implement clipboard functionality into it.

If you want to set up your coding environment for this project, then ou can do so by running the following command in your terminal:

Expand Down
2 changes: 1 addition & 1 deletion avro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


# Set version information.
__version_info__ = ('0', '1', '2')
__version_info__ = ('0', '1', '3')
__version__ = '.'.join(__version_info__)


Expand Down
4 changes: 2 additions & 2 deletions avro/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

# Import third-party modules.
import click
import pyperclip3
import pyclip
from rich.console import Console
from rich.table import Table

Expand Down Expand Up @@ -77,7 +77,7 @@ def subparse_click(text: str):
parsed.append(subparse_click(t))

# Post-processing and modifying the clipboard.
pyperclip3.copy('\n\n'.join(parsed))
pyclip.copy('\n\n'.join(parsed))

console.line()
console.print(table, justify="center")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
license='MIT',
install_requires=[
'click',
'pyperclip3',
'pyclip',
'rich'
],
python_requires=">=3.10.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
click
rich
pyperclip3
pyclip
pytest

0 comments on commit c1c7606

Please sign in to comment.