from setuptools import setup, find_packages
import os

long_description = open(
    os.path.join(os.path.dirname(__file__), 'README.rst')).read()

setup(
    name="httpbin",
    version="0.5.0",
    description="HTTP Request and Response Service",
    long_description=long_description,

    # The project URL.
    url='https://github.com/Runscope/httpbin',

    # Author details
    author='Runscope',
    author_email='httpbin@runscope.com',

    # Choose your license
    license='MIT',

    classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Intended Audience :: Developers',
         'Natural Language :: English',
         'License :: OSI Approved :: MIT License',
         'Programming Language :: Python',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3.4',
    ],
    packages=find_packages(),
    include_package_data = True, # include files listed in MANIFEST.in
    install_requires=['Flask','MarkupSafe','decorator','itsdangerous','six'],
)

@@ -46,16 +46,26 @@
 mport os
+%0Aimport io
 %0A%0Along_d
@@ -77,16 +77,19 @@
 ption = 
+io.
 open(%0A  
@@ -143,16 +143,34 @@
 ME.rst')
+, encoding='utf-8'
 ).read()

use io.open() for long_description from file (#299)