]> git.phdru.name Git - mimedecode.git/blob - setup.py
Build(setup.py): Add `project_urls`
[mimedecode.git] / setup.py
1 #! /usr/bin/env python
2
3 from imp import load_source
4 from os.path import abspath, dirname, join
5 from setuptools import setup
6
7 versionpath = join(abspath(dirname(__file__)), "mimedecode", "__version__.py")
8 mimedecode_version = load_source("mimedecode_version", versionpath)
9
10 setup(
11     name="mimedecode",
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     author="Oleg Broytman",
17     author_email="phd@phdru.name",
18     url="http://phdru.name/Software/Python/#mimedecode",
19     project_urls={
20         'Homepage': 'http://phdru.name/Software/Python/#mimedecode',
21         'Documentation': 'http://phdru.name/Software/Python/mimedecode.html',
22         'Download':
23             'http://phdru.name/Software/Python/'
24             'mimedecode-%s.tar.bz2' % mimedecode_version.__version__,
25         'Git repo': 'http://git.phdru.name/mimedecode.git',
26         'Github repo': 'https://github.com/phdru/mimedecode',
27         'Issue tracker': 'https://github.com/phdru/mimedecode/issues',
28     },
29     license=mimedecode_version.__license__,
30     keywords=['email', 'MIME'],
31     platforms="Any",
32     classifiers=[
33         'Development Status :: 5 - Production/Stable',
34         'Environment :: Console',
35         'Intended Audience :: End Users/Desktop',
36         'License :: OSI Approved :: GNU General Public License (GPL)',
37         'Operating System :: OS Independent',
38         'Programming Language :: Python :: Implementation :: CPython',
39         'Programming Language :: Python :: Implementation :: PyPy',
40         'Programming Language :: Python :: 2',
41         'Programming Language :: Python :: 2.7',
42         'Programming Language :: Python :: 3',
43         'Programming Language :: Python :: 3.3',
44         'Programming Language :: Python :: 3.4',
45         'Programming Language :: Python :: 3.5',
46         'Programming Language :: Python :: 3.6',
47     ],
48     packages=['mimedecode'],
49     entry_points={
50         'console_scripts': [
51             'mimedecode = mimedecode.__main__:main'
52         ]
53     },
54     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
55     install_requires=['m_lib.defenc>=1.0'],
56     tests_require=['m_lib>=3.1'],
57 )