Package Details: python-pyautogui 0.9.52-4

Git Clone URL: (read-only, click to copy)
Package Base: python-pyautogui
Description: A cross-platform GUI automation Python module for human beings
Upstream URL:
Licenses: BSD
Conflicts: python-pyautogui-git
Provides: python-pyautogui
Submitter: xantares
Maintainer: PumpkinCheshire
Last Packager: PumpkinCheshire
Votes: 15
Popularity: 0.148162
First Submitted: 2015-11-02 17:34
Last Updated: 2020-12-03 22:27

Latest Comments

cmsigler commented on 2020-11-02 16:11

@PumpkinCheshire: Hi,

By George, you're right, pillow is a dependency of pyscreeze... and mouseinfo :) Yeah, as long as python-pyscreeze is a depends rather than optdepends python-pillow ought to be removed as a depends. Thank you :)

FWIW, based solely on the Arch Wiki entry for packaging Python utilities, I decided to stick with Thank you again for taking this package on!

I think this package could be of very general use. When I was looking for Python-based GUI testing automation solutions, I decided to use this rather than the many others -- XAUT, python-libxdo, xdotool, xmacro, GNU Xnee, guibot. I researched before choosing pyautogui as the most capable with the widest utility coverage.


PumpkinCheshire commented on 2020-11-02 13:43

@cmsigler: Hi, You are right. I re-examined the upstream code. These packages really need to be installed to ensure that pyautogui can work well.

The dependency tree is as follows:

# PyGetWindow==0.0.9
#   PyRect==0.1.4

Given that pillow will be installed by PyScreeze, I might consider removing it to keep the dependency tree clean. This software is still under rapid development, the documents and codes are changing around, which is indeed a headache. Using pip installation may be the best solution.

Anyway, I will try to maintain this package for a while and hope everything goes well.

cmsigler commented on 2020-11-02 12:21

@PumpkinCheshire: Good morning,

Thank you for adopting this package :) Your updates to PKGBUILD sound great to me, FWIW. In reading the upstream git source page, it sounded to me like pymsgbox, pyscreeze and pytweening might be candidates for optdepends but I wasn't sure the package would work correctly without them installed. AFAICT, mouseinfo is the same.

As to tk and scrot, I'm unsure, but it sounds good to me as you're the man now ;) (I originally packaged this for myself, but I ended up solving the GUI freezing problems I was having without relying on automated fuzzing of the interface. I learned one needs to use wx.CallAfter to update wxWindows graphics from outside of the main thread :D)

Thanks again!


PumpkinCheshire commented on 2020-11-02 04:39

@cmsigler: Hi, I decided to maintain this package. Thanks for your patch, however I decided to put some depends to optdepends, because not all of them are absolutely needed. This program will detect which modules are not installed and give tips, so I think this is feasible now. Finally, I also saw that scrot and tk are required in the document. I don't really understand whether they are really necessary, so I put them in optdepends. If I did anything wrong, please correct me, thank you.

cmsigler commented on 2020-10-22 16:44


I've tried to carefully read asweigart's github home page for this to update its dependencies. It needs xlib, pillow, pymsgbox, pyscreeze and pytweening. It doesn't appear to need mouseinfo (except that pkg pulled in xlib and pillow so everything was working).

Here is a patch for PKGBUILD (sorry it is on pastebin...):

I'm not going to adopt this package because I no longer use it. But I have followed it and had some time to "give back" ;) HTH!

Clemmitt Sigler

yochananmarqos commented on 2020-01-20 15:19

@Scimmia: Whoops. For some reason I thought one of the other dependencies pulled in setuptools.

Scimmia commented on 2020-01-20 08:18

Removing the makedepends was a mistake, package no longer builds.

Scimmia commented on 2019-04-08 15:21

This split package is done very poorly. Incorrect makedepends, python3 deps on the python2 package, etc.

cmsigler commented on 2018-10-13 11:55


I massaged the PKGBUILD for new version 0.9.38, and to build python and python2 split packages. Very basic. Patch (sorry about pastebin):



awh commented on 2016-06-01 19:47

Hey, please add python-pyscreeze, python-pytweening, and python-pymsgbox as optdeps - pyautogui uses them for various functions (e.g. locateOnScreen, center, confirm, etc).