]> git.phdru.name Git - mimedecode.git/blob - setup.py
Add git+git URL for m_lib
[mimedecode.git] / setup.py
1 #! /usr/bin/env python
2
3 try:
4     from ez_setup import use_setuptools
5     use_setuptools()
6     from setuptools import setup
7     is_setuptools = True
8 except ImportError:
9     from distutils.core import setup
10     is_setuptools = False
11
12 kw = {}
13 if is_setuptools:
14     kw['setup_requires'] = ['m_lib']
15     kw['install_requires'] = ['m_lib']
16     kw['dependency_links'] = [
17         'http://phdru.name/Software/Python/#egg=m_lib',
18         'git+http://git.phdru.name/m_lib.git#egg=m_lib',
19          'git+git://git.phdru.name/m_lib.git#egg=m_lib',
20     ]
21
22 from mimedecode_version import __version__, __copyright__, __license__
23
24 setup(name = "mimedecode",
25    version = __version__,
26    description = "A program to decode MIME messages",
27    long_description = "A program to decode MIME messages. " + __copyright__,
28    author = "Oleg Broytman",
29    author_email = "phd@phdru.name",
30    url = "http://phdru.name/Software/Python/#mimedecode",
31    license = __license__,
32    platforms = "All",
33    py_modules = ['mimedecode_version'],
34    scripts = ['mimedecode.py'],
35    **kw
36 )