Closed D3vil0p3r closed 1 year ago
PKGBUILD is about Arch Linux, and Playwright does not work there, since browsers are not compiled for it. So I think this effort would not be worth it or what are you planning to do?
I would like to install it because some tool I need to use uses Playwright as dependency.
Yes but its not only about the Playwright python package, the browsers like WebKit would then just not work. (the dependencies are linked to different versions)
So closing for now and folding into https://github.com/microsoft/playwright/issues/8100 since it would require a lot of upstream browser work.
Context:
Describe the bug
Hello, I'm working on Arch Linux and I'm creating a PKGBUILD for a package of playwright-python project. The PKGBUILD has the following structure:
(Note that some dependencies are not in Arch repos, I created them, but the mandatory packages should be)
I noted that, when I install playwright by setup.py (as shown in PKGBUILD code), in playwright python lib folder I have the following folders/files:
and in
/usr/lib/python3.10/site-packages/playwright-1.29.0.post4+g2d0df8e-py3.10.egg/playwright/
I have:Now, if I uninstall it (and I must be sure that those 2 folders are deleted) and I install playwright by pip (i.e., by
sudo pip install playwright
(usedsudo
only for this test. I get the same result also with no sudo)), in these folders I get:So, in this case I have
driver
folder that contains theplaywright.sh
called by/usr/bin/playwright
.Why when I use
setup.py
for building and installing, I don't get thedriver
folder and its content?