Move __version__ out of mimedecode.py to __version__.py.
-Move __version__ out of mimedecode.py to allow installation without m_lib.
-
-
setuptools/easy_install; pip.
setuptools/easy_install; pip.
--- /dev/null
+__version__ = "2.1.4"
+__author__ = "Oleg Broytman <phd@phdru.name>"
+__copyright__ = "Copyright (C) 2001-2013 PhiloSoft Design"
+__license__ = "GNU GPL"
"""Decode MIME message"""
"""Decode MIME message"""
-__version__ = "2.1.4"
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2001-2013 PhiloSoft Design"
-__license__ = "GNU GPL"
+from __version__ import __version__, __author__, __copyright__, __license__
#! /usr/bin/env python
from distutils.core import setup
#! /usr/bin/env python
from distutils.core import setup
-from mimedecode import __version__, __copyright__
+from __version__ import __version__, __copyright__, __license__
setup(name = "mimedecode",
version = __version__,
setup(name = "mimedecode",
version = __version__,
author = "Oleg Broytman",
author_email = "phd@phdru.name",
url = "http://phdru.name/Software/Python/#mimedecode",
author = "Oleg Broytman",
author_email = "phd@phdru.name",
url = "http://phdru.name/Software/Python/#mimedecode",
platforms = "All",
scripts = ['mimedecode.py']
)
platforms = "All",
scripts = ['mimedecode.py']
)