Skip to content

Commit

Permalink
Removing references to gtk module since we dropped it.
Browse files Browse the repository at this point in the history
  • Loading branch information
asweigart committed Jun 18, 2024
1 parent 91d35ac commit 253e3cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/pyperclip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
This module does not work with PyGObject yet.
Note: There seems to be a way to get gtk on Python 3, according to:
https://askubuntu.com/questions/697397/python3-is-not-supporting-gtk-module
Cygwin is currently not supported.
Security Note: This module runs programs with these names:
Expand Down Expand Up @@ -503,7 +500,7 @@ def determine_clipboard():
accordingly.
'''

global Foundation, AppKit, gtk, qtpy, PyQt5
global Foundation, AppKit, qtpy, PyQt5

# Setup for the CYGWIN platform:
if 'cygwin' in platform.system().lower(): # Cygwin has a variety of values returned by platform.system(), such as 'CYGWIN_NT-6.1'
Expand Down Expand Up @@ -577,7 +574,6 @@ def set_clipboard(clipboard):
implement the copy/paste feature. The clipboard parameter must be one of:
- pbcopy
- pbobjc (default on Mac OS X)
- gtk
- qt
- xclip
- xsel
Expand Down

0 comments on commit 253e3cc

Please sign in to comment.