Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
829
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgresql.psycopg2
  2.  
  3. #-*- coding: 'utf-8' -*-
  4.  
  5. from cx_Freeze import setup, Executable
  6. import sys
  7.  
  8. # Dependencies are automatically detected, but it might need
  9. # fine tuning.
  10.  
  11. # execute this file with the command: python setup.py build
  12.  
  13. buildOptions = dict(packages = ['ht_cg.ht_cg_objects'],
  14. includes = ['ht_cg.ht_cg_objects'],
  15. excludes = ['tkinter', 'PyQt4', 'matplotlib', 'tcl', 'scipy'],
  16. include_files = ['./cg_source_prep/readme.txt', "./ht_cg_objects/ht_db_config.cfg"],
  17. build_exe = 'build/source_density_exe')
  18.  
  19. sys.path.append('./')
  20. sys.path.append('../')
  21. executables = [
  22. Executable(script = "cg_source_save.py",
  23. initScript = None,
  24. base='Console',
  25. targetName = 'source_density_save.exe',
  26. copyDependentFiles = True,
  27. compress = True,
  28. appendScriptToExe = True,
  29. appendScriptToLibrary = True,
  30. shortcutName="CG Source Density",
  31. shortcutDir='DesktopFolder',
  32. icon = "./cg_source_prep/archimedes.ico"
  33. )
  34. ]
  35.  
  36. setup(name='Source_Density',
  37. version = '1.0',
  38. description = 'Source Density Uploader',
  39. author = 'zeppelin_d',
  40. author_email = 'zeppelin_d@email',
  41. options = dict(build_exe = buildOptions),
  42. executables = executables)
  43.  
  44. postgresql+psycopg2://user_name:[email protected]:5432/ht_cg_prod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement