Skip to content

Commit 0fca5c1

Browse files
Updated license to GPLv3+.
1 parent cc0067b commit 0fca5c1

7 files changed

Lines changed: 726 additions & 196 deletions

File tree

COPYING

Lines changed: 670 additions & 159 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
dist:
2+
@mkdir -p include
3+
@cp lib/libsuinput/src/suinput.h include
4+
@cp lib/libsuinput/src/suinput.c src
5+
@python setup.py sdist
6+
7+
clean:
8+
@rm -rf src/suinput.c
9+
@rm -rf include
10+
@rm -rf dist
11+
@rm -rf build
12+
@rm -rf MANIFEST

README

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ General information
1616
- **Author**: `Tuomas Räsänen <http://tuos.codegrove.org/>`_ <tuos@codegrove.org>
1717
- **Homepage**: http://codegrove.org/python-uinput/
1818
- **License**: LGPLv3+ (see COPYING for details)
19-
- **Version**: 0.3
19+
- **Version**: 0.3.1
2020

2121
Requirements
2222
============
@@ -27,6 +27,8 @@ Requirements
2727

2828
sudo apt-get install python-dev
2929

30+
- libudev-dev
31+
3032
Example usage
3133
=============
3234

@@ -53,7 +55,7 @@ Create and use a new uinput device with key-capabilities::
5355
Downloading
5456
===========
5557

56-
- Tarball is available at: http://codegrove.org/python-uinput/releases/python-uinput-0.3.tar.gz
58+
- Tarball is available at: http://codegrove.org/python-uinput/releases/python-uinput-0.3.1.tar.gz
5759
- Latest sources from public git-repository: http://github.com/tuos/python-uinput/ ::
5860

5961
git clone git://github.com/tuos/python-uinput.git

setup.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
import os
44
import sys
55
reload(sys).setdefaultencoding('utf-8')
6-
import shutil
7-
8-
if os.path.exists('.git'):
9-
shutil.copy('lib/libsuinput/src/suinput.h', 'include/suinput.h')
10-
shutil.copy('lib/libsuinput/src/suinput.c', 'src/suinput.c')
116

127
from distutils.core import setup, Extension
138

149
suinput_module = Extension('uinput.suinput',
15-
sources=['src/suinputmodule.c',
16-
'src/suinput.c'],
10+
sources=['src/suinputmodule.c', 'src/suinput.c'],
1711
include_dirs=['include'],
1812
libraries=['udev'],
1913
)
@@ -23,21 +17,21 @@
2317
)
2418

2519
setup(name='python-uinput',
26-
version='0.3',
20+
version='0.3.1',
2721
description='Python API to the Linux uinput-system.',
2822
author='Tuomas Räsänen',
2923
author_email='tuos@codegrove.org',
3024
url='http://codegrove.org/python-uinput/',
31-
download_url='http://codegrove.org/python-uinput/0.3/python-uinput-0.3.tar.gz',
25+
download_url='http://codegrove.org/python-uinput/0.3.1/python-uinput-0.3.1.tar.gz',
3226
package_dir={'uinput': 'src'},
3327
packages=['uinput'],
3428
ext_modules=[suinput_module, bustypes_module],
35-
license='LGPLv3+',
29+
license='GPLv3+',
3630
platforms=['Linux'],
3731
classifiers=[
3832
"Development Status :: 3 - Alpha",
3933
"Intended Audience :: Developers",
40-
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
34+
"License :: OSI Approved :: GNU Library or General Public License (GPL)",
4135
"Operating System :: POSIX :: Linux",
4236
"Topic :: System :: Operating System Kernels :: Linux",
4337
"Programming Language :: Python :: 2.6",

src/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# uinput - Uinput API for Python
2+
# Copyright © 2010 Tuomas Räsänen (tuos) <tuos@codegrove.org>
3+
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
116
from __future__ import absolute_import
217

318
from uinput import suinput

src/bustypesmodule.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
/*
22
bustypes.c - Bustypes used in Linux input system
3-
Copyright (C) 2009 Tuomas Räsänen <tuos@codegrove.org>
3+
Copyright © 2010 Tuomas Räsänen (tuos) <tuos@codegrove.org>
44
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 3 of the License, or (at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation, either version 3 of the License, or
8+
(at your option) any later version.
99
10-
This library is distributed in the hope that it will be useful,
10+
This program is distributed in the hope that it will be useful,
1111
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
1414
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15+
You should have received a copy of the GNU General Public License
16+
along with this program. If not, see <http://www.gnu.org/licenses/>.
1817
*/
19-
2018
#include <Python.h>
2119
#include <linux/input.h>
2220

src/suinputmodule.c

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
/*
22
pysuinput - Simple Python wrapper for libsuinput
3-
Copyright (C) 2009 Tuomas Räsänen <tuos@codegrove.org>
3+
Copyright © 2010 Tuomas Räsänen (tuos) <tuos@codegrove.org>
44
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Lesser General Public
7-
License as published by the Free Software Foundation; either
8-
version 3 of the License, or (at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation, either version 3 of the License, or
8+
(at your option) any later version.
99
10-
This library is distributed in the hope that it will be useful,
10+
This program is distributed in the hope that it will be useful,
1111
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Lesser General Public License for more details.
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
1414
15-
You should have received a copy of the GNU Lesser General Public
16-
License along with this library; if not, write to the Free Software
17-
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15+
You should have received a copy of the GNU General Public License
16+
along with this program. If not, see <http://www.gnu.org/licenses/>.
1817
*/
19-
2018
#include <Python.h>
2119

2220
#include <suinput.h>

0 commit comments

Comments
 (0)