# Path: version.py
# VERSION = (1, 2, 0, 'a', 1)
# 
# LICENSE = 'GPLv2 with FOSS License Exception'


import sys
import os
from distutils.sysconfig import get_python_lib
from distutils.file_util import copy_file
from distutils.dir_util import mkpath, copy_tree
from distutils.errors import DistutilsError
from distutils import util
from version import VERSION, LICENSE
    from support.distribution.commands import (
        sdist, bdist, dist_rpm, build, dist_deb, dist_osx
        )
    from distutils import dir_util
        from support.distribution.commands import (dist_msi)

    for pyfile in py_files:
        if 'mysql/__init__.py' in pyfile:
            continue
        os.unlink(pyfile)

if LICENSE == 'Commercial':
    util.byte_compile = _byte_compile

# Development Status Trove Classifiers significant for Connector/Python
DEVELOPMENT_STATUSES = {
    'a': '3 - Alpha',
    'b': '4 - Beta',
    '': '5 - Production/Stable'
}

if sys.version_info >= (3, 1):
    sys.path = ['python3/'] + sys.path
    package_dir = { '': 'python3' }
elif sys.version_info >= (2, 6) and sys.version_info < (3, 0):
    sys.path = ['python2/'] + sys.path
    package_dir = { '': 'python2' }
else:
    raise RuntimeError(
        "Python v%d.%d is not supported" % sys.version_info[0:2])

package_dir['mysql.connector.django'] = os.path.join('python23', 'django')
package_dir['mysql.connector.fabric'] = os.path.join('python23', 'fabric')

name = 'mysql-connector-python'

# Path: version.py
# VERSION = (1, 2, 0, 'a', 1)
# 
# LICENSE = 'GPLv2 with FOSS License Exception'


# Path: metasetupinfo.py
import sys
import os
from distutils.sysconfig import get_python_lib
from distutils.file_util import copy_file
from distutils.dir_util import mkpath, copy_tree
from distutils.errors import DistutilsError
from distutils import util
from version import VERSION, LICENSE
    from support.distribution.commands import (
        sdist, bdist, dist_rpm, build, dist_deb, dist_osx
        )
    from distutils import dir_util
        from support.distribution.commands import (dist_msi)


    for pyfile in py_files:
        if 'mysql/__init__.py' in pyfile:
            continue
        os.unlink(pyfile)

if LICENSE == 'Commercial':
    util.byte_compile = _byte_compile

# Development Status Trove Classifiers significant for Connector/Python
DEVELOPMENT_STATUSES = {
    'a': '3 - Alpha',
    'b': '4 - Beta',
    '': '5 - Production/Stable'
}

if sys.version_info >= (3, 1):
    sys.path = ['python3/'] + sys.path
    package_dir = { '': 'python3' }
elif sys.version_info >= (2, 6) and sys.version_info < (3, 0):
    sys.path = ['python2/'] + sys.path
    package_dir = { '': 'python2' }
else:
    raise RuntimeError(
        "Python v%d.%d is not supported" % sys.version_info[0:2])

package_dir['mysql.connector.django'] = os.path.join('python23', 'django')
package_dir['mysql.connector.fabric'] = os.path.join('python23', 'fabric')

name = 'mysql-connector-python'

version = '{0}.{1}.{2}'.format(*VERSION[0:3])