# Path: common/settings.py



from fabric.api import lcd, local, settings
from os.path import join, isdir
from time import ctime, time
from common.settings import deployed_dir, exported_dir, project_name
from __future__ import with_statement


try:
    input = raw_input  # For python 2.x
except NameError:
    pass


def save_deployed(platform='default'):
    """Save a deployed obfuscated project.

    Input values
    ------------
    version_num : str
        Version number of the deployed project.

    Parameters
    ----------
    platform : str
        Destination platform.
    """
    print('***DEPLOY started at {}'.format(ctime(time())))
    version_num = input(
        'Version number to save to. Don\'t use parens, like 1.2(a). '
        'Use just numbers, letters, and dots, like: 1.2.4a.: ')

    from_base_dir = join(exported_dir, project_name, platform)

# Path: common/settings.py



# Path: deploy/fabfile.py
from fabric.api import lcd, local, settings
from os.path import join, isdir
from time import ctime, time
from common.settings import deployed_dir, exported_dir, project_name

from __future__ import with_statement


try:
    input = raw_input  # For python 2.x
except NameError:
    pass


def save_deployed(platform='default'):
    """Save a deployed obfuscated project.

    Input values
    ------------
    version_num : str
        Version number of the deployed project.

    Parameters
    ----------
    platform : str
        Destination platform.
    """
    print('***DEPLOY started at {}'.format(ctime(time())))
    version_num = input(
        'Version number to save to. Don\'t use parens, like 1.2(a). '
        'Use just numbers, letters, and dots, like: 1.2.4a.: ')

    from_base_dir = join(exported_dir, project_name, platform)

    to_base_dir = join(deployed_dir, project_name, platform, str(version_num))