old_contents: from distutils.core import setup
  
  setup(name='snap7',
        version='0.1',
        description='Python wrapper for the snap7 library',
        author='Gijs Molenaar',
        author_email='gijs@pythonic.nl',
        url='https://github.com/gijzelaerr/python-snap7',
        packages=['snap7'],
        license='MIT licence, see LICENCE',
        long_description=open('README.rst').read(),
        scripts=['snap7/bin/snap7-server.py'],
  )
  
  
new_contents: import os
  from distutils.core import setup
  
  def read(fname):
      return open(os.path.join(os.path.dirname(__file__), fname)).read()
  
  setup(name='python-snap7',
        version='0.1',
        description='Python wrapper for the snap7 library',
        author='Gijs Molenaar',
        author_email='gijs@pythonic.nl',
        url='https://github.com/gijzelaerr/python-snap7',
        packages=['snap7'],
        license='MIT licence, see LICENCE',
        long_description=read('README.rst'),
        scripts=['snap7/bin/snap7-server.py'],
  )
  
  
subject: fix pypi entry