|
3 | 3 | import os |
4 | 4 | import sys |
5 | 5 | 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') |
11 | 6 |
|
12 | 7 | from distutils.core import setup, Extension |
13 | 8 |
|
14 | 9 | suinput_module = Extension('uinput.suinput', |
15 | | - sources=['src/suinputmodule.c', |
16 | | - 'src/suinput.c'], |
| 10 | + sources=['src/suinputmodule.c', 'src/suinput.c'], |
17 | 11 | include_dirs=['include'], |
18 | 12 | libraries=['udev'], |
19 | 13 | ) |
|
23 | 17 | ) |
24 | 18 |
|
25 | 19 | setup(name='python-uinput', |
26 | | - version='0.3', |
| 20 | + version='0.3.1', |
27 | 21 | description='Python API to the Linux uinput-system.', |
28 | 22 | author='Tuomas Räsänen', |
29 | 23 | author_email='tuos@codegrove.org', |
30 | 24 | 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', |
32 | 26 | package_dir={'uinput': 'src'}, |
33 | 27 | packages=['uinput'], |
34 | 28 | ext_modules=[suinput_module, bustypes_module], |
35 | | - license='LGPLv3+', |
| 29 | + license='GPLv3+', |
36 | 30 | platforms=['Linux'], |
37 | 31 | classifiers=[ |
38 | 32 | "Development Status :: 3 - Alpha", |
39 | 33 | "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)", |
41 | 35 | "Operating System :: POSIX :: Linux", |
42 | 36 | "Topic :: System :: Operating System Kernels :: Linux", |
43 | 37 | "Programming Language :: Python :: 2.6", |
|
0 commit comments