@@ -95,6 +95,13 @@ def run(self) -> None:
95
95
from_path = os .path .join (dir_path , file )
96
96
to_path = os .path .relpath (from_path , driver_root )
97
97
zip .write (from_path , f"playwright/driver/{ to_path } " )
98
+ if platform == "mac" :
99
+ # Ship mac both as 10_13 as and 11_0 universal to work across Macs.
100
+ universal_location = without_platform + "macosx_11_0_universal2.whl"
101
+ shutil .copyfile (wheel_location , universal_location )
102
+ with zipfile .ZipFile (universal_location , "a" ) as zip :
103
+ zip .writestr ("playwright/driver/README.md" , "Universal Mac package" )
104
+
98
105
os .remove (base_wheel_location )
99
106
100
107
@@ -108,7 +115,7 @@ def run(self) -> None:
108
115
url = "https://github.com/Microsoft/playwright-python" ,
109
116
packages = ["playwright" ],
110
117
include_package_data = True ,
111
- install_requires = ["greenlet==1.0a1 " , "pyee>=8.0.1" , "typing-extensions" ],
118
+ install_requires = ["greenlet==1.0.0 " , "pyee>=8.0.1" , "typing-extensions" ],
112
119
classifiers = [
113
120
"Topic :: Software Development :: Testing" ,
114
121
"Topic :: Internet :: WWW/HTTP :: Browsers" ,
0 commit comments