Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgresql.psycopg2
- #-*- coding: 'utf-8' -*-
- from cx_Freeze import setup, Executable
- import sys
- # Dependencies are automatically detected, but it might need
- # fine tuning.
- # execute this file with the command: python setup.py build
- buildOptions = dict(packages = ['ht_cg.ht_cg_objects'],
- includes = ['ht_cg.ht_cg_objects'],
- excludes = ['tkinter', 'PyQt4', 'matplotlib', 'tcl', 'scipy'],
- include_files = ['./cg_source_prep/readme.txt', "./ht_cg_objects/ht_db_config.cfg"],
- build_exe = 'build/source_density_exe')
- sys.path.append('./')
- sys.path.append('../')
- executables = [
- Executable(script = "cg_source_save.py",
- initScript = None,
- base='Console',
- targetName = 'source_density_save.exe',
- copyDependentFiles = True,
- compress = True,
- appendScriptToExe = True,
- appendScriptToLibrary = True,
- shortcutName="CG Source Density",
- shortcutDir='DesktopFolder',
- icon = "./cg_source_prep/archimedes.ico"
- )
- ]
- setup(name='Source_Density',
- version = '1.0',
- description = 'Source Density Uploader',
- author = 'zeppelin_d',
- author_email = 'zeppelin_d@email',
- options = dict(build_exe = buildOptions),
- executables = executables)
- postgresql+psycopg2://user_name:[email protected]:5432/ht_cg_prod
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement