@task
def win_install_deps(options):
 download_dir = path('downloaded').abspath()
 if (not download_dir.exists()):
  download_dir.makedirs()
 win_packages = {'Py2exe': dev_config['WINDOWS']['py2exe'], 'Nose': dev_config['WINDOWS']['nose'], 'PyProj': dev_config['WINDOWS']['pyproj'], 'lXML': dev_config['WINDOWS']['lxml']}
 failed = False
 for (package, url) in win_packages.iteritems():
  tempfile = (download_dir / os.path.basename(url))
  print ('Installing file ... ' + tempfile)
  grab_winfiles(url, tempfile, package)
  try:
   easy_install.main([tempfile])
  except Exception as e:
   failed = True
   print 'install failed with error: ', e
  os.remove(tempfile)
 if (failed and (sys.maxsize > (2 ** 32))):
  print '64bit architecture is not currently supported'
  print 'try finding the 64 binaries for py2exe, nose, and pyproj'
 elif failed:
  print 'install failed for py2exe, nose, and/or pyproj'
 else:
  print 'Windows dependencies now complete.  Run pip install -e geonode --use-mirrors'

@ task def win_install_deps ( options ) : download_dir = path ( 'downloaded' ) . abspath ( ) if ( not download_dir . exists ( ) ) : download_dir . makedirs ( ) win_packages = { 'Py2exe' : dev_config [ 'WINDOWS' ] [ 'py2exe' ] , 'Nose' : dev_config [ 'WINDOWS' ] [ 'nose' ] , 'PyProj' : dev_config [ 'WINDOWS' ] [ 'pyproj' ] , 'lXML' : dev_config [ 'WINDOWS' ] [ 'lxml' ] } failed = False for ( package , url ) in win_packages . iteritems ( ) : tempfile = ( download_dir / os . path . basename ( url ) ) print ( 'Installing file ... ' + tempfile ) grab_winfiles ( url , tempfile , package ) try : easy_install . main ( [ tempfile ] ) except Exception as e : failed = True print 'install failed with error: ' , e os . remove ( tempfile ) if ( failed and ( sys . maxsize > ( 2 ** 32 ) ) ) : print '64bit architecture is not currently supported' print 'try finding the 64 binaries for py2exe, nose, and pyproj' elif failed : print 'install failed for py2exe, nose, and/or pyproj' else : print 'Windows dependencies now complete.  Run pip install -e geonode --use-mirrors'
install all windows binary automatically this can be removed as wheels become available for these packages .