import setuptools

setuptools.setup(
    name='mailcap-fix',
    version='0.1.1',
    description='A patched mailcap module that conforms to RFC 1524',
    long_description=open('README.rst', encoding='utf-8').read(),
    url='https://github.com/michael-lazar/mailcap_fix',
    author='Michael Lazar',
    author_email='lazar.michael22@gmail.com',
    license='UNLICENSE',
    keywords='mailcap 1524',
    packages=['mailcap_fix'],
)

import setuptools
from io import open

setuptools.setup(
    name='mailcap-fix',
    version='0.1.1',
    description='A patched mailcap module that conforms to RFC 1524',
    long_description=open('README.rst', encoding='utf-8').read(),
    url='https://github.com/michael-lazar/mailcap_fix',
    author='Michael Lazar',
    author_email='lazar.michael22@gmail.com',
    license='UNLICENSE',
    keywords='mailcap 1524',
    packages=['mailcap_fix'],
)

Use io framework from python 3.0 to fix build on python 2.7
Use io framework from python 3.0 to fix build on python 2.7
