old_contents: from setuptools import setup
  
  
  with open('README.rst') as f:
      long_description = f.read()
  
  setup(
      name="shadowsocks",
      version="2.4",
      license='MIT',
      description="A fast tunnel proxy that help you get through firewalls",
      author='clowwindy',
      author_email='clowwindy42@gmail.com',
      url='https://github.com/clowwindy/shadowsocks',
      packages=['shadowsocks', 'shadowsocks.crypto'],
      package_data={
          'shadowsocks': ['README.rst', 'LICENSE']
      },
      install_requires=[],
      entry_points="""
      [console_scripts]
      sslocal = shadowsocks.local:main
      ssserver = shadowsocks.server:main
      """,
      classifiers=[
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: Implementation :: CPython',
          'Programming Language :: Python :: Implementation :: PyPy',
          'Topic :: Internet :: Proxy Servers',
      ],
      long_description=long_description,
  )
  
new_contents: import codecs
  from setuptools import setup
  
  
  with codecs.open('README.rst', encoding='utf-8') as f:
      long_description = f.read()
  
  setup(
      name="shadowsocks",
      version="2.4",
      license='MIT',
      description="A fast tunnel proxy that help you get through firewalls",
      author='clowwindy',
      author_email='clowwindy42@gmail.com',
      url='https://github.com/clowwindy/shadowsocks',
      packages=['shadowsocks', 'shadowsocks.crypto'],
      package_data={
          'shadowsocks': ['README.rst', 'LICENSE']
      },
      install_requires=[],
      entry_points="""
      [console_scripts]
      sslocal = shadowsocks.local:main
      ssserver = shadowsocks.server:main
      """,
      classifiers=[
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: Implementation :: CPython',
          'Programming Language :: Python :: Implementation :: PyPy',
          'Topic :: Internet :: Proxy Servers',
      ],
      long_description=long_description,
  )
  
subject: use codecs.open() so it works for non-utf8 locales