@@ -95,6 +95,13 @@ def run(self) -> None:
9595 from_path = os .path .join (dir_path , file )
9696 to_path = os .path .relpath (from_path , driver_root )
9797 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+
98105 os .remove (base_wheel_location )
99106
100107
@@ -108,7 +115,7 @@ def run(self) -> None:
108115 url = "https://github.com/Microsoft/playwright-python" ,
109116 packages = ["playwright" ],
110117 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" ],
112119 classifiers = [
113120 "Topic :: Software Development :: Testing" ,
114121 "Topic :: Internet :: WWW/HTTP :: Browsers" ,
0 commit comments