Skip to content

Commit

Permalink
Imported tarball release 0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomasjjrasanen committed Aug 20, 2013
1 parent a90237b commit 3f74437
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.10.1
======

- Fix Python3-compatibility issue.

0.10.0
======

Expand Down
4 changes: 2 additions & 2 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: python-uinput
Version: 0.10.0
Version: 0.10.1
Summary: Pythonic API to Linux uinput kernel module.
Home-page: http://tjjr.fi/sw/python-uinput/
Author: Tuomas Räsänen
Author-email: [email protected]
License: GPLv3+
Download-URL: https://launchpad.net/python-uinput/trunk/0.10.0/+download/python-uinput-0.10.0.tar.gz
Download-URL: https://launchpad.net/python-uinput/trunk/0.10.1/+download/python-uinput-0.10.1.tar.gz
Description:
Python-uinput is Python interface to Linux uinput kernel module which
allows attaching userspace device drivers into kernel. In practice,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def run(self):
_build_py.run(self)

setup(name='python-uinput',
version='0.10.0',
version='0.10.1',
description='Pythonic API to Linux uinput kernel module.',
author='Tuomas Räsänen',
author_email='[email protected]',
Expand All @@ -33,7 +33,7 @@ def run(self):
packages=['uinput'],
license='GPLv3+',
platforms=['Linux'],
download_url='https://launchpad.net/python-uinput/trunk/0.10.0/+download/python-uinput-0.10.0.tar.gz',
download_url='https://launchpad.net/python-uinput/trunk/0.10.1/+download/python-uinput-0.10.1.tar.gz',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
Expand Down
6 changes: 1 addition & 5 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ def _error_handler(result, fn, args):
raise RuntimeError("unexpected return value: %s" % result)
return result

_soabi = ""
if sysconfig.get_config_var("SOABI"):
_soabi = ".%s" % sysconfig.get_config_var("SOABI")

_libsuinput_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "_libsuinput" + _soabi + sysconfig.get_config_var("SO")))
_libsuinput_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "_libsuinput" + sysconfig.get_config_var("SO")))
_libsuinput = ctypes.CDLL(_libsuinput_path, use_errno=True)
_libsuinput.suinput_open.errcheck = _error_handler
_libsuinput.suinput_enable_event.errcheck = _error_handler
Expand Down

0 comments on commit 3f74437

Please sign in to comment.