~chuck-bell/mysql-utilities/mysql-utilities

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/python

import sys

from info import META_INFO, INSTALL, COMMANDS

from cx_Freeze import setup     # Setup function to use

if sys.platform.startswith("win32"):
    META_INFO['name'] = 'MySQL Utilities'

ARGS = {
    'executable': [
        cx_Freeze.Executable(exe, base="Console") for exe in INSTALL['scripts']
        ],
    'options': {
        'bdist_msi': { 'add_to_path': True, },
        }
    }

ARGS.update(META_INFO)
ARGS.update(INSTALL)
ARGS.update(COMMANDS)
setup(**ARGS)