Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore Dict Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body If CompareGt Call NameLoad NameLoad Num body Print Call AttributeLoad NameLoad attr Return Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str orelse If NameLoad body Assign NameStore CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str orelse Assign NameStore NameLoad TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list If BoolOpOr NameLoad NameLoad body Print Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Return Print Call AttributeLoad Str attr NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num Print Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str TryExcept body ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Num Num handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareEq NameLoad Str body TryExcept body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Str For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Return Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad Str attr attr If CompareNotIn NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad body If CompareEq Call NameLoad Str Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return Expr Call AttributeLoad NameLoad attr Str Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Return Assign NameStore NameLoad For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str For NameStore Call NameLoad NameLoad keyword NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list NameLoad decorator_list
N/A N/A fnmatch N/A logging N/A getpass N/A boto N/A sys cactus.s3.utils fileList N/A re N/A os N/A paramiko N/A yaml N/A BaseTask cactus.s3.file File paramiko SFTPClient cactus.utils to_unix_path DeployTask N/A BaseTask N/A N/A 
    Deploy project
     N/A local_settings N/A N/A config N/A N/A helptext_short deploy [target] [--build=yes|no] [--runtests=yes|no]: deploy project to the given target. conf N/A N/A cls key default N/A None N/A N/A N/A N/A N/A cls local_settings get key N/A N/A N/A cls config get key default N/A classmethod run N/A N/A cls N/A args kwargs N/A N/A N/A N/A len args 3 N/A N/A N/A N/A cls usage N/A N/A do_build True N/A run_tests False N/A target default N/A arg args N/A N/A m1 N/A N/A re match --build=(yes|no) arg N/A re I N/A m2 N/A N/A re match --runtests=(yes|no) arg N/A re I N/A m1 N/A N/A do_build N/A N/A N/A N/A N/A m1 group 1 lower yes N/A N/A m2 N/A N/A run_tests N/A N/A N/A N/A N/A m2 group 1 lower yes N/A N/A target arg N/A N/A N/A N/A cls local_settings N/A N/A N/A N/A yaml load N/A open N/A N/A N/A os path join N/A N/A os getcwd deploy.yml r get target N/A N/A N/A Exception N/A e N/A N/A N/A cls local_settings N/A N/A N/A N/A logging warn N/A N/A No local deploy.yml present or error parsing it:
{0} format e cactus site cactus_site N/A site N/A N/A cactus_site Site N/A N/A os getcwd N/A N/A N/A site verify N/A N/A cls config N/A N/A N/A N/A N/A site config get deploy get target default N/A deployment_type N/A N/A cls conf type ssh N/A discard_files N/A N/A cls conf discard N/A createSSHClient N/A N/A server port user password privkey N/A 22 None None None N/A N/A client N/A N/A paramiko SSHClient N/A N/A N/A client load_system_host_keys N/A N/A N/A client set_missing_host_key_policy N/A N/A paramiko AutoAddPolicy N/A N/A N/A client connect server port port username user password password key_filename privkey N/A client N/A N/A N/A do_build run_tests N/A N/A Building site... N/A N/A N/A site build dist True N/A N/A N/A site call_plugin_method preDeploy N/A run_tests N/A N/A N/A N/A N/A site run_tests N/A N/A N/A N/A logging error Not all tests ran successfully! Exiting... N/A N/A N/A N/A Deploying to {0}... format target N/A N/A deployment_type ssh N/A N/A host N/A N/A cls conf host N/A port N/A int N/A N/A cls conf port 22 N/A N/A N/A Connecting to {0}... format host N/A auth_type N/A N/A cls conf auth password N/A N/A win32com.shell shellcon shell N/A homedir N/A N/A shell SHGetFolderPath 0 N/A shellcon CSIDL_APPDATA 0 0 N/A N/A N/A ImportError N/A N/A homedir N/A N/A N/A os path expanduser ~ N/A N/A auth_type public-key N/A N/A N/A N/A ssh N/A createSSHClient host port port user N/A N/A cls conf user privkey N/A N/A N/A N/A cls conf private_key {home}/.ssh/id_rsa format home homedir N/A N/A N/A N/A paramiko PasswordRequiredException N/A N/A ssh N/A createSSHClient host port port user N/A N/A cls conf user privkey N/A N/A N/A N/A cls conf private_key {home}/.ssh/id_rsa format home homedir password N/A N/A getpass getpass prompt Please enter your password:  N/A N/A user N/A N/A cls conf user N/A N/A user N/A N/A user N/A raw_input Please enter your username:  N/A ssh N/A createSSHClient host port port user user password N/A N/A getpass getpass prompt Please enter your password:  N/A scp N/A N/A SFTPClient from_transport N/A N/A ssh get_transport N/A dist_dir N/A N/A N/A os path abspath N/A N/A site paths N/A dist N/A remote_base N/A N/A cls conf path N/A N/A path dirs files N/A N/A os walk dist_dir N/A N/A remote_path N/A N/A path replace dist_dir N/A remote_path N/A N/A re sub ^/ remote_path N/A remote_path N/A N/A re sub ^\\ remote_path N/A d dirs N/A N/A rdir N/A to_unix_path N/A N/A N/A os path join remote_base remote_path d N/A N/A N/A N/A N/A scp stat rdir N/A N/A N/A IOError N/A N/A N/A N/A scp mkdir rdir N/A f files N/A N/A src N/A N/A N/A os path abspath N/A N/A N/A os path join path f N/A dest N/A to_unix_path N/A N/A N/A os path join remote_base remote_path f N/A discard False N/A pattern discard_files N/A N/A d N/A N/A /**/{0} format pattern N/A N/A N/A fnmatch fnmatch dest d N/A N/A discard True N/A N/A discard N/A N/A N/A N/A logging info N/A N/A Copying {0} => {1} format src dest N/A N/A N/A scp put src dest N/A N/A N/A N/A logging info N/A N/A DISCARD: {0} format src N/A N/A N/A site call_plugin_method postDeploy N/A N/A N/A deployment_type s3 N/A N/A key N/A N/A cls conf s3_access_key N/A secret N/A N/A cls conf s3_secret_key N/A N/A key N/A N/A key N/A raw_input Please enter Amazon AWS key:  N/A N/A secret N/A N/A secret N/A raw_input Please enter Amazon AWS Secret Key:  N/A connection N/A N/A boto connect_s3 N/A N/A key strip N/A N/A secret strip N/A N/A N/A buckets N/A N/A connection get_all_buckets N/A N/A N/A N/A N/A N/A logging error Invalid login credentials, please try again... N/A N/A bucket N/A N/A cls conf s3_bucket N/A N/A bucket N/A N/A bucket N/A N/A N/A N/A N/A raw_input S3 bucket name (www.yoursite.com):  strip lower N/A N/A bucket N/A N/A b name N/A b buckets N/A N/A N/A N/A raw_input Bucket does not exist, create it? (y/n):  y N/A N/A N/A N/A created_bucket N/A N/A connection create_bucket bucket policy public-read N/A N/A N/A N/A N/A boto exception S3CreateError N/A e N/A N/A N/A N/A logging error N/A N/A Bucket with name {0} already is used by someone else, please try again with another name. format bucket N/A N/A N/A N/A created_bucket configure_website index.html error.html N/A N/A N/A buckets N/A N/A connection get_all_buckets N/A N/A N/A N/A N/A N/A logging error Invalid login credentials, please try again... N/A N/A selected_bucket None N/A b buckets N/A N/A N/A N/A b name bucket N/A N/A selected_bucket b N/A selected_bucket N/A N/A dist_dir N/A N/A site paths N/A dist N/A f N/A fileList dist_dir relative True N/A N/A s3_file N/A File site f N/A N/A cls conf s3_site_domain N/A discard False N/A pattern discard_files N/A N/A N/A N/A fnmatch fnmatch f pattern N/A N/A discard True N/A N/A discard N/A N/A N/A N/A s3_file upload selected_bucket N/A N/A N/A N/A logging info N/A N/A DISCARD: {0} format f N/A N/A N/A site call_plugin_method postDeploy N/A N/A N/A logging info N/A N/A Deployment complete. Please check your site at:
http://{0}/ format N/A N/A cls conf s3_site_domain N/A N/A N/A N/A logging warn N/A N/A Deployment type '{0}' is not implemented! format deployment_type N/A classmethod N/A