old_contents: #!/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'],
      )
  
new_contents: #!/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'],
      )
  
subject: Use version from udev module instead of declaring it manually