URI: 
       timport modules with imp - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 97b726386e711162b1dd8d88814198cc772dcecc
   DIR parent a361a05b08f360101e1550a33d6403d32c08ef7e
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sat, 20 Oct 2012 17:01:11 +0200
       
       import modules with imp
       
       Diffstat:
         M setup.py                            |      11 ++++++-----
       
       1 file changed, 6 insertions(+), 5 deletions(-)
       ---
   DIR diff --git a/setup.py b/setup.py
       t@@ -3,10 +3,11 @@
        # python setup.py sdist --format=zip,gztar
        
        from distutils.core import setup
       -from lib.version import ELECTRUM_VERSION as version
       -import lib.util as util
       -import os, sys, platform
       -from lib.util import print_error
       +import os, sys, platform, imp
       +
       +version = imp.load_source('version', 'lib/version.py')
       +util = imp.load_source('version', 'lib/util.py')
       +
        if sys.version_info[:3] < (2,6,0):
            sys.exit("Error: Electrum requires Python version >= 2.6.0...")
        
       t@@ -37,7 +38,7 @@ data_files += [
        ]
        
        setup(name = "Electrum",
       -    version = version,
       +    version = version.ELECTRUM_VERSION,
            install_requires = ['slowaes','ecdsa'],
            package_dir = {'electrum': 'lib'},
            scripts= ['electrum'],