# -*- coding: utf-8 -*-
import os.path
from setuptools import setup

__version__ = '1.10'


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

install_requires = ['python-dateutil',
                    'file-magic',
                    'cchardet',
                    'typing',
                    ]

setup(name='eml_parser',
      description='Python EML parser library',
      license='AGPLv3+',
      long_description=long_description,
      version=__version__,
      author='Georges Toth',
      author_email='georges.toth@govcert.etat.lu',
      url='https://github.com/GOVCERT-LU/eml_parser',
      keywords='email',
      packages=['eml_parser'],
      classifiers=['Development Status :: 5 - Production/Stable',
                   'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
                   'Intended Audience :: Developers',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6',
                   'Programming Language :: Python :: Implementation :: CPython',
                   'Topic :: Communications :: Email'
                   ],
      install_requires=install_requires,
      )

@@ -239,42 +239,8 @@
 l',%0A
-                    'file-magic',%0A
     
@@ -295,17 +295,16 @@
 'typing'
-,
 %0A       
@@ -319,16 +319,17 @@
      %5D%0A%0A
+%0A
 setup(na
@@ -1234,16 +1234,87 @@
      %5D,%0A
+      extras_require = %7B%0A        'file-magic': %5B%22file-magic%22%5D%0A      %7D,%0A
       in

set file-magic in extras_require