Skip to content

Commit a41c75d

Browse files
committed
make sure platform specific clipboard implementations are preferred
1 parent 6056016 commit a41c75d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kivy/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def kivy_usage():
189189
'image': ('tex', 'imageio', 'dds', 'gif', 'pil', 'pygame', 'ffpy', 'sdl2'),
190190
'camera': ('opencv', 'gi', 'pygst', 'videocapture', 'avfoundation'),
191191
'spelling': ('enchant', 'osxappkit', ),
192-
'clipboard': ('android', 'pygame', 'dummy', 'sdl2'), }
192+
'clipboard': ('android', 'winctypes', 'dbusklipper', 'nspaste', 'pygame', 'sdl2', 'dummy'), }
193193

194194
# Read environment
195195
for option in kivy_options:
@@ -209,6 +209,7 @@ def kivy_usage():
209209
#: Kivy directory
210210
kivy_base_dir = dirname(sys.modules[__name__].__file__)
211211
#: Kivy modules directory
212+
212213
kivy_modules_dir = environ.get('KIVY_MODULES_DIR',
213214
join(kivy_base_dir, 'modules'))
214215
#: Kivy extension directory

kivy/core/clipboard/clipboard_winctypes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ def get(self, mimetype='text/plain'):
3030
return data
3131

3232
def put(self, text, mimetype='text/plain'):
33-
print text, type(text)
3433
GMEM_DDESHARE = 0x2000
3534
CF_UNICODETEXT = 13
3635
user32.OpenClipboard(None)

0 commit comments

Comments
 (0)