]> git.phdru.name Git - mimedecode.git/commitdiff
Rename __version__.py -> mimedecode_version.py
authorOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2013 21:41:26 +0000 (01:41 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2013 21:41:26 +0000 (01:41 +0400)
and install it as a module.

mimedecode.py
mimedecode_version.py [moved from __version__.py with 100% similarity]
setup.py

index 6c3ff717a64d063ddad362a29c055edabc975373..179f82dbdc84d558c66d50b0bf8d34239261ae41 100755 (executable)
@@ -2,7 +2,7 @@
 """Decode MIME message"""
 
 
-from __version__ import __version__, __author__, __copyright__, __license__
+from mimedecode_version import __version__, __author__, __copyright__, __license__
 
 
 import sys, os
similarity index 100%
rename from __version__.py
rename to mimedecode_version.py
index c7352fda11f74ab2480f9dfb0347f0533ec19700..17f4536f614adcfb2ced387f23fcf9e256255268 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 
 from distutils.core import setup
-from __version__ import __version__, __copyright__, __license__
+from mimedecode_version import __version__, __copyright__, __license__
 
 setup(name = "mimedecode",
    version = __version__,
@@ -12,5 +12,6 @@ setup(name = "mimedecode",
    url = "http://phdru.name/Software/Python/#mimedecode",
    license = __license__,
    platforms = "All",
+   py_modules = ['mimedecode_version'],
    scripts = ['mimedecode.py']
 )