2009-06-03 | Paul Boddie | raw annotate files changeset graph | Improved window handle and name parsing. Switched the desktop.windows.list function to use xwininfo and the "visible" method introduced in this changeset. Tidied up xwininfo command invocation, acquisition of children and descendant windows. Introduced a "visible" method which should indicate whether a window is being shown somewhere. Introduced a "descendants" method operating somewhat like the "children" method. Added find functionality based on window names, introducing a "find" method and a convenience function. |
1 #! /usr/bin/env python 2 3 from distutils.core import setup 4 5 import desktop 6 7 setup( 8 name = "desktop", 9 description = "Simple desktop integration for Python.", 10 author = "Paul Boddie", 11 author_email = "paul@boddie.org.uk", 12 url = "http://www.python.org/pypi/desktop", 13 version = desktop.__version__, 14 packages = ["desktop"] 15 )