#!/usr/bin/python
# -*- coding: utf-8 -*-


from setuptools import setup

import udev

with open('README.rst') as stream:
    long_description = stream.read().decode('utf-8')


setup(
    name='pyudev',
    version=udev.__version__,
    url='http://packages.python.org/pyudev',
    author='Sebastian Wiesner',
    author_email='lunaryorn@googlemail.com',
    description='A libudev binding',
    long_description=long_description,
    platforms='Linux',
    license='MIT/X11',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries',
        'Topic :: System :: Hardware',
        'Topic :: System :: Operating System Kernels :: Linux',
        ],
    py_modules=['udev', '_udev', 'qudev'],
    )

#!/usr/bin/python
# -*- coding: utf-8 -*-


from setuptools import setup


with open('README.rst') as stream:
    long_description = stream.read().decode('utf-8')


setup(
    name='pyudev',
    version='0.3',
    url='http://packages.python.org/pyudev',
    author='Sebastian Wiesner',
    author_email='lunaryorn@googlemail.com',
    description='A libudev binding',
    long_description=long_description,
    platforms='Linux',
    license='MIT/X11',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries',
        'Topic :: System :: Hardware',
        'Topic :: System :: Operating System Kernels :: Linux',
        ],
    py_modules=['udev', '_udev', 'qudev'],
    )

--- 
+++ 
@@ -4,6 +4,7 @@
 
 from setuptools import setup
 
+import udev
 
 with open('README.rst') as stream:
     long_description = stream.read().decode('utf-8')
@@ -11,7 +12,7 @@
 
 setup(
     name='pyudev',
-    version='0.3',
+    version=udev.__version__,
     url='http://packages.python.org/pyudev',
     author='Sebastian Wiesner',
     author_email='lunaryorn@googlemail.com',
Use version from udev module instead of declaring it manually
