added setup and packaging info
This commit is contained in:
parent
0ad6aa1855
commit
8e056be3af
|
@ -1,11 +1,14 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# wrapper for running display inside X virtual framebuffer (Xvfb)
|
|
||||||
#
|
#
|
||||||
# - inspired by PyVirtualDisplay: http://pypi.python.org/pypi/PyVirtualDisplay
|
# - inspired by PyVirtualDisplay: http://pypi.python.org/pypi/PyVirtualDisplay
|
||||||
# - Corey Goldberg, 2012
|
# - Corey Goldberg, 2012
|
||||||
|
|
||||||
|
|
||||||
|
"""wrapper for running display inside X virtual framebuffer (Xvfb)"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import fnmatch
|
import fnmatch
|
||||||
import random
|
import random
|
||||||
|
@ -16,7 +19,7 @@ import time
|
||||||
|
|
||||||
class Xvfb(object):
|
class Xvfb(object):
|
||||||
|
|
||||||
def __init__(self, width=1024, height=768, colordepth=24):
|
def __init__(self, width=800, height=680, colordepth=24):
|
||||||
self.width = width
|
self.width = width
|
||||||
self.height = height
|
self.height = height
|
||||||
self.colordepth = colordepth
|
self.colordepth = colordepth
|
||||||
|
|
Loading…
Reference in New Issue