3 from imp import load_source
4 from os.path import abspath, dirname, join
5 from setuptools import setup
7 versionpath = join(abspath(dirname(__file__)), "mimedecode", "__version__.py")
8 mimedecode_version = load_source("mimedecode_version", versionpath)
12 version=mimedecode_version.__version__,
13 description="A program to decode MIME messages",
14 long_description="A program to decode MIME messages. " +
15 mimedecode_version.__copyright__,
16 long_description_content_type="text/plain",
17 author="Oleg Broytman",
18 author_email="phd@phdru.name",
19 url="https://phdru.name/Software/Python/#mimedecode",
21 'Homepage': 'https://phdru.name/Software/Python/#mimedecode',
22 'Documentation': 'https://phdru.name/Software/Python/mimedecode.html',
24 'https://phdru.name/Software/Python/'
25 'mimedecode-%s.tar.bz2' % mimedecode_version.__version__,
26 'Git repo': 'https://git.phdru.name/mimedecode.git',
27 'Github repo': 'https://github.com/phdru/mimedecode',
28 'Issue tracker': 'https://github.com/phdru/mimedecode/issues',
30 license=mimedecode_version.__license__,
31 keywords=['email', 'MIME'],
34 'Development Status :: 5 - Production/Stable',
35 'Environment :: Console',
36 'Intended Audience :: End Users/Desktop',
37 'License :: OSI Approved :: GNU General Public License (GPL)',
38 'Operating System :: OS Independent',
39 'Programming Language :: Python :: Implementation :: CPython',
40 'Programming Language :: Python :: Implementation :: PyPy',
41 'Programming Language :: Python :: 2',
42 'Programming Language :: Python :: 2.7',
43 'Programming Language :: Python :: 3',
44 'Programming Language :: Python :: 3.4',
45 'Programming Language :: Python :: 3.5',
46 'Programming Language :: Python :: 3.6',
47 'Programming Language :: Python :: 3.7',
49 packages=['mimedecode'],
52 'mimedecode = mimedecode.__main__:main'
55 python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
56 install_requires=['m_lib.defenc>=1.0'],
57 tests_require=['m_lib>=3.1'],