22 lines
414 B
Python
22 lines
414 B
Python
![]() |
# For now the scrap module has not been updated for SDL 2
|
||
|
__tags__ = ["SDL2_ignore"]
|
||
|
|
||
|
import sys
|
||
|
|
||
|
exclude = False
|
||
|
|
||
|
if sys.platform == "win32" or sys.platform.startswith("linux"):
|
||
|
try:
|
||
|
import pygame
|
||
|
|
||
|
pygame.scrap._NOT_IMPLEMENTED_
|
||
|
except AttributeError:
|
||
|
pass
|
||
|
else:
|
||
|
exclude = True
|
||
|
else:
|
||
|
exclude = True
|
||
|
|
||
|
if exclude:
|
||
|
__tags__.extend(["ignore", "subprocess_ignore"])
|