-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f69ebff
commit 1554d86
Showing
4 changed files
with
33 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
0.9 | ||
=== | ||
|
||
- Python3 compatibility | ||
- Python2.6 compatibility | ||
|
||
0.8 | ||
=== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
Metadata-Version: 1.1 | ||
Name: python-uinput | ||
Version: 0.8 | ||
Version: 0.9 | ||
Summary: Pythonic API to the Linux uinput kernel module. | ||
Home-page: http://tjjr.fi/sw/python-uinput/ | ||
Author: Tuomas Jorma Juhani Räsänen | ||
Author-email: [email protected] | ||
License: GPLv3+ | ||
Download-URL: https://launchpad.net/python-uinput/trunk/0.8/+download/python-uinput-0.8.tar.gz | ||
Download-URL: https://launchpad.net/python-uinput/trunk/0.9/+download/python-uinput-0.9.tar.gz | ||
Description: | ||
Python-uinput is Python interface to the Linux uinput kernel module | ||
which allows attaching userspace device drivers into kernel. | ||
|
||
Platform: Linux | ||
Classifier: Development Status :: 3 - Alpha | ||
Classifier: Development Status :: 4 - Beta | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: GNU General Public License (GPL) | ||
Classifier: Operating System :: POSIX :: Linux | ||
Classifier: Topic :: System :: Operating System Kernels :: Linux | ||
Classifier: Programming Language :: Python :: 2.5 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.1 | ||
Classifier: Programming Language :: Python :: 3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from __future__ import with_statement | ||
from __future__ import print_function | ||
import re | ||
|
||
from distutils.command.build_py import build_py as _build_py | ||
|
@@ -11,7 +12,7 @@ def append_ev(ev_type, ev_name): | |
for line in f: | ||
match = re.match(r"^#define (" + ev_name + "_.*)\t+((?:0x[0-9a-f]+)|(?:\d+))", line) | ||
if match: | ||
print >>f2, "%s = (%s, %s)" % (match.group(1).strip(), ev_type, match.group(2).strip()) | ||
print("%s = (%s, %s)" % (match.group(1).strip(), ev_type, match.group(2).strip()), file=f2) | ||
|
||
class build_py(_build_py): | ||
|
||
|
@@ -23,7 +24,7 @@ def run(self): | |
_build_py.run(self) | ||
|
||
setup(name='python-uinput', | ||
version='0.8', | ||
version='0.9', | ||
description='Pythonic API to the Linux uinput kernel module.', | ||
author='Tuomas Jorma Juhani Räsänen', | ||
author_email='[email protected]', | ||
|
@@ -32,16 +33,19 @@ def run(self): | |
packages=['uinput'], | ||
license='GPLv3+', | ||
platforms=['Linux'], | ||
download_url='https://launchpad.net/python-uinput/trunk/0.8/+download/python-uinput-0.8.tar.gz', | ||
download_url='https://launchpad.net/python-uinput/trunk/0.9/+download/python-uinput-0.9.tar.gz', | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: GNU General Public License (GPL)", | ||
"Operating System :: POSIX :: Linux", | ||
"Topic :: System :: Operating System Kernels :: Linux", | ||
"Programming Language :: Python :: 2.5", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.1", | ||
"Programming Language :: Python :: 3.2", | ||
], | ||
long_description=""" | ||
Python-uinput is Python interface to the Linux uinput kernel module | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters