Browse Source

flattened package to module and updated setup and tests

changes/49/376949/1 0.2.4
Corey Goldberg 8 years ago
parent
commit
becf66efc9
7 changed files with 12 additions and 17 deletions
  1. +1
    -2
      MANIFEST.in
  2. +2
    -2
      README.rst
  3. +2
    -4
      setup.py
  4. +6
    -6
      test_xvfb.py
  5. +1
    -1
      tox.ini
  6. +0
    -0
      xvfbwrapper.py
  7. +0
    -2
      xvfbwrapper/__init__.py

+ 1
- 2
MANIFEST.in View File

@ -1,4 +1,3 @@
prune *
include README.rst
include setup.py
recursive-include xvfbwrapper *.py
include *.py

+ 2
- 2
README.rst View File

@ -24,13 +24,13 @@ Install xvfbwrapper from PyPI::
***********************
* Xvfb (`sudo apt-get install xvfb`, or similar)
* Python 2.7 or 3.2+ (tested on py27, py32, py33, pypy)
* Python 2.7 or 3.2+ (tested on py27, py32, py33)
**************************************
About Xvfb (X Virtual Framebuffer)
**************************************
In the X Window System, Xvfb or X virtual framebuffer is an X11 server that performs all graphical operations in memory, not showing any screen output. This virtual server does not require the computer it is running on to even have a screen or any input device. Only a network layer is necessary.
In the X Window System, Xvfb or X Virtual FrameBuffer is an X11 server that performs all graphical operations in memory, not showing any screen output. This virtual server does not require the computer it is running on to even have a screen or any input device. Only a network layer is necessary.
************************
Example: Basic Usage


+ 2
- 4
setup.py View File

@ -7,8 +7,6 @@
import os
from distutils.core import setup
import xvfbwrapper
this_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_dir, 'README.rst')) as f:
@ -17,8 +15,8 @@ with open(os.path.join(this_dir, 'README.rst')) as f:
setup(
name='xvfbwrapper',
version=xvfbwrapper.__version__,
packages=['xvfbwrapper'],
version='0.2.4',
py_modules=['xvfbwrapper'],
author='Corey Goldberg',
author_email='cgoldberg _at_ gmail.com',
description='run headless display inside X virtual framebuffer (Xvfb)',


xvfbwrapper/test_xvfb.py → test_xvfb.py View File


+ 1
- 1
tox.ini View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = flake8, py27, py32, py33, pypy
envlist = flake8, py27, py32, py33
[flake8]
exclude = .tox, build


xvfbwrapper/xvfbwrapper.py → xvfbwrapper.py View File


+ 0
- 2
xvfbwrapper/__init__.py View File

@ -1,2 +0,0 @@
__version__ = '0.2.3'

Loading…
Cancel
Save