# Path: pyp2rpm/utils.py
# PY3 = sys.version > '3'
# class ChangeDir(object):
#     def __init__(self, new_path):
#     def __enter__(self):
#     def __exit__(self, type, value, traceback):  # TODO handle exception
# def memoize_by_args(func):
#     def memoized(*args):
# def build_srpm(specfile, save_dir):
# def remove_major_minor_suffix(scripts):
# def runtime_to_build(runtime_deps):
# def unique_deps(deps):
#     def console_to_str(s):
#     def console_to_str(s):
# def c_time_locale():
# def rpm_eval(macro):
# def get_default_save_path():


from pyp2rpm import utils

DEFAULT_TEMPLATE = 'fedora'
DEFAULT_PYTHON_VERSIONS = {
    'fedora': ['3'],
    'epel7': ['2', '3'],
    'epel6': ['2'],
    'mageia': ['3'],
    'pld': ['2', '3']
}
DEFAULT_PYTHON_VERSION = DEFAULT_PYTHON_VERSIONS[DEFAULT_TEMPLATE][0]
DEFAULT_PKG_SOURCE = 'pypi'
DEFAULT_METADATA_SOURCE = 'pypi'
DEFAULT_DISTRO = 'fedora'

# Path: pyp2rpm/utils.py
# PY3 = sys.version > '3'
# class ChangeDir(object):
#     def __init__(self, new_path):
#     def __enter__(self):
#     def __exit__(self, type, value, traceback):  # TODO handle exception
# def memoize_by_args(func):
#     def memoized(*args):
# def build_srpm(specfile, save_dir):
# def remove_major_minor_suffix(scripts):
# def runtime_to_build(runtime_deps):
# def unique_deps(deps):
#     def console_to_str(s):
#     def console_to_str(s):
# def c_time_locale():
# def rpm_eval(macro):
# def get_default_save_path():


# Path: pyp2rpm/settings.py
from pyp2rpm import utils


DEFAULT_TEMPLATE = 'fedora'
DEFAULT_PYTHON_VERSIONS = {
    'fedora': ['3'],
    'epel7': ['2', '3'],
    'epel6': ['2'],
    'mageia': ['3'],
    'pld': ['2', '3']
}
DEFAULT_PYTHON_VERSION = DEFAULT_PYTHON_VERSIONS[DEFAULT_TEMPLATE][0]
DEFAULT_PKG_SOURCE = 'pypi'
DEFAULT_METADATA_SOURCE = 'pypi'
DEFAULT_DISTRO = 'fedora'

DEFAULT_PKG_SAVE_PATH = utils.get_default_save_path()