Module Expr Str Assign NameStore Str Import alias alias alias alias alias alias Import alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad TupleLoad Str Str BinOpMod Str NameLoad TupleLoad Str NameLoad Str TupleLoad Str NameLoad Str Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore TupleLoad Str Str Str body If UnaryOpNot BoolOpAnd Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad Str If AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str orelse If AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Print Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Print BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore NameStore Str Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Str Assign NameStore Call AttributeLoad Str attr While CompareNotIn NameLoad NameLoad body Print Str Assign NameStore Call NameLoad If UnaryOpNot NameLoad body Assign NameStore Str orelse If CompareNotIn NameLoad NameLoad body Print Str If CompareEq NameLoad Str body While UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str While UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Str CompareIs NameLoad NameLoad CompareEq NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Print Str Print BinOpMod Str NameLoad Assign NameStore Str While CompareNotIn Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad Str If UnaryOpNot NameLoad body Assign NameStore Str If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Num handlers ExceptHandler body Pass orelse If CompareEq NameLoad Str body Assign NameStore Dict Str Str Assign SubscriptStore NameLoad Index Str SubscriptStore NameLoad Index Str SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad While UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call NameLoad Str While CompareNotEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body While UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str While UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str If CompareNotEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str NameLoad Print Str While UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Num body Print BinOpMod Str TupleLoad NameLoad NameLoad orelse Print Str Print Str orelse If CompareEq NameLoad Str body Assign NameStore Dict Str Str Assign SubscriptStore NameLoad Index Str Str While UnaryOpNot SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If BoolOpOr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Str Assign NameStore BinOpAdd Str NameLoad Assign NameStore BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareNotIn Call NameLoad NameLoad TupleLoad Call NameLoad ListLoad Call NameLoad TupleLoad body Assign NameStore ListLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str BinOpMod Str NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign NameStore TupleLoad Num Call NameLoad NameLoad orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Str If AttributeLoad NameLoad attr body Print BinOpMult Str Num NameLoad BinOpMult Str Num Return NameLoad decorator_list decorator_list
N/A N/A distutils.command.register

Implements the Distutils 'register' command (register with the repository).
 N/A __revision__ $Id: register.py 52243 2006-10-09 17:13:26Z andrew.kuchling $ N/A sys os string urllib2 getpass urlparse N/A StringIO ConfigParser distutils.core Command distutils.errors * register N/A Command N/A N/A description register the distribution with the Python package index N/A DEFAULT_REPOSITORY http://pypi.python.org/pypi N/A user_options N/A N/A repository= r N/A url of repository [default: %s] DEFAULT_REPOSITORY N/A list-classifiers None list the valid Trove classifiers N/A show-response None display full response text from server N/A boolean_options N/A verify show-response list-classifiers initialize_options N/A N/A self N/A N/A N/A N/A self repository None N/A N/A self show_response 0 N/A N/A self list_classifiers 0 N/A finalize_options N/A N/A self N/A N/A N/A N/A N/A self repository None N/A N/A N/A self repository N/A self DEFAULT_REPOSITORY N/A run N/A N/A self N/A N/A N/A N/A N/A self check_metadata N/A N/A self dry_run N/A N/A N/A N/A self verify_metadata N/A N/A N/A self list_classifiers N/A N/A N/A N/A self classifiers N/A N/A N/A N/A self send_metadata N/A check_metadata N/A N/A self N/A N/A N/A Ensure that all required elements of meta-data (name, version,
           URL, (author and author_email) or (maintainer and
           maintainer_email)) are supplied by the Distribution object; warn if
           any are missing.
         N/A metadata N/A N/A self distribution metadata N/A missing N/A N/A attr N/A name version url N/A N/A N/A N/A N/A hasattr metadata attr N/A getattr metadata attr N/A N/A N/A N/A missing append attr N/A missing N/A N/A N/A N/A self warn N/A missing required meta-data:  N/A N/A string join missing ,  N/A N/A metadata author N/A N/A N/A N/A metadata author_email N/A N/A N/A N/A self warn N/A missing meta-data: if 'author' supplied,  'author_email' must be supplied too N/A N/A N/A metadata maintainer N/A N/A N/A N/A metadata maintainer_email N/A N/A N/A N/A self warn N/A missing meta-data: if 'maintainer' supplied,  'maintainer_email' must be supplied too N/A N/A N/A N/A self warn N/A N/A missing meta-data: either (author and author_email)  or (maintainer and maintainer_email)  must be supplied N/A classifiers N/A N/A self N/A N/A N/A  Fetch the list of classifiers from the server.
         N/A response N/A N/A urllib2 urlopen N/A N/A self repository ?:action=list_classifiers N/A N/A N/A response read N/A verify_metadata N/A N/A self N/A N/A N/A  Send the metadata to the package index server to be checked.
         N/A N/A code result N/A N/A self post_to_server N/A N/A self build_post_data verify N/A N/A Server response (%s): %s N/A code result N/A send_metadata N/A N/A self N/A N/A N/A  Send the metadata to the package index server.

            Well, do the following:
            1. figure who the user is, and then
            2. send the data as a Basic auth'ed POST.

            First we try to read the username/password from $HOME/.pypirc,
            which is a ConfigParser-formatted file with a section
            [server-login] containing username and password entries (both
            in clear text). Eg:

                [server-login]
                username: fred
                password: sekrit

            Otherwise, to figure who the user is, we offer the user three
            choices:

             1. use existing login,
             2. register as a new user, or
             3. set the password to a random string and email the user.

         N/A choice x N/A username password N/A config None N/A N/A N/A N/A os environ has_key HOME N/A N/A rc N/A N/A N/A os path join N/A N/A os environ N/A HOME .pypirc N/A N/A N/A N/A os path exists rc N/A N/A N/A Using PyPI login from %s rc N/A config N/A N/A ConfigParser ConfigParser N/A N/A N/A config read rc N/A username N/A N/A config get server-login username N/A password N/A N/A config get server-login password N/A choice 1 N/A choices N/A N/A 1 2 3 4 split N/A N/A choice choices N/A N/A We need to know who you are, so please choose either:
 1. use your existing login,
 2. register as a new user,
 3. have the server generate a new password for you (and email it to you), or
 4. quit
Your selection [default 1]:  N/A choice N/A raw_input N/A N/A choice N/A N/A choice 1 N/A N/A N/A choice choices N/A N/A Please choose one of the four options! N/A N/A choice 1 N/A N/A N/A username N/A N/A username N/A raw_input Username:  N/A N/A password N/A N/A password N/A N/A getpass getpass Password:  N/A auth N/A N/A urllib2 HTTPPasswordMgr N/A host N/A N/A N/A urlparse urlparse N/A self repository N/A 1 N/A N/A N/A auth add_password pypi host username password N/A N/A code result N/A N/A self post_to_server N/A N/A self build_post_data submit auth N/A N/A Server response (%s): %s N/A code result N/A N/A N/A N/A N/A os environ has_key HOME N/A config None N/A code 200 N/A N/A rc N/A N/A N/A os path join N/A N/A os environ N/A HOME .pypirc N/A I can store your PyPI login so future submissions will be faster. N/A N/A (the login will be stored in %s) rc N/A choice X N/A N/A N/A N/A choice lower yn N/A N/A choice N/A raw_input Save your login (y/N)? N/A N/A choice N/A N/A choice n N/A N/A N/A N/A choice lower y N/A N/A f N/A open rc w N/A N/A N/A f write N/A [server-login]
username:%s
password:%s
 N/A username password N/A N/A N/A f close N/A N/A N/A N/A N/A os chmod rc 384 N/A N/A N/A N/A N/A N/A N/A choice 2 N/A N/A data N/A :action user N/A N/A data N/A name N/A data N/A password N/A data N/A email N/A N/A data N/A confirm None N/A N/A N/A data N/A name N/A N/A N/A data N/A name N/A raw_input Username:  N/A N/A N/A data N/A password N/A data N/A confirm N/A N/A N/A N/A data N/A password N/A N/A N/A data N/A password N/A N/A getpass getpass Password:  N/A N/A N/A data N/A confirm N/A N/A N/A data N/A confirm N/A N/A getpass getpass  Confirm:  N/A N/A N/A data N/A password N/A data N/A confirm N/A N/A N/A data N/A password N/A N/A data N/A confirm None N/A Password and confirm don't match! N/A N/A N/A data N/A email N/A N/A N/A data N/A email N/A raw_input    EMail:  N/A N/A code result N/A N/A self post_to_server data N/A N/A code 200 N/A N/A N/A Server response (%s): %s N/A code result N/A N/A You will receive an email shortly. N/A Follow the instructions in it to complete registration. N/A N/A N/A choice 3 N/A N/A data N/A :action password_reset N/A N/A data N/A email N/A N/A N/A data N/A email N/A N/A N/A data N/A email N/A raw_input Your email address:  N/A N/A code result N/A N/A self post_to_server data N/A N/A Server response (%s): %s N/A code result N/A build_post_data N/A N/A self action N/A N/A N/A meta N/A N/A self distribution metadata N/A data N/A :action metadata_version name version summary home_page author author_email license description keywords platform classifiers download_url provides requires obsoletes action 1.0 N/A N/A meta get_name N/A N/A meta get_version N/A N/A meta get_description N/A N/A meta get_url N/A N/A meta get_contact N/A N/A meta get_contact_email N/A N/A meta get_licence N/A N/A meta get_long_description N/A N/A meta get_keywords N/A N/A meta get_platforms N/A N/A meta get_classifiers N/A N/A meta get_download_url N/A N/A meta get_provides N/A N/A meta get_requires N/A N/A meta get_obsoletes N/A N/A N/A data N/A provides N/A data N/A requires N/A data N/A obsoletes N/A N/A N/A data N/A metadata_version 1.1 N/A data N/A post_to_server N/A N/A self data auth N/A None N/A N/A  Post a query to the server, and return a string response.
         N/A boundary --------------GHSKFJDLGDS7543FJKLFHRE75642756743254 N/A sep_boundary N/A 
-- boundary N/A end_boundary N/A sep_boundary -- N/A body N/A N/A StringIO StringIO N/A N/A key value N/A N/A data items N/A N/A N/A N/A type value N/A N/A type N/A N/A type N/A N/A N/A value N/A value N/A value value N/A N/A value N/A N/A N/A unicode value encode utf-8 N/A N/A N/A body write sep_boundary N/A N/A N/A body write N/A 
Content-Disposition: form-data; name="%s" key N/A N/A N/A body write N/A N/A N/A body write value N/A N/A value N/A N/A value N/A -1 N/A N/A N/A N/A body write N/A N/A N/A body write end_boundary N/A N/A N/A body write N/A body N/A N/A body getvalue N/A headers N/A Content-type Content-length N/A multipart/form-data; boundary=%s; charset=utf-8 boundary N/A str N/A len body N/A req N/A N/A urllib2 Request N/A self repository body headers N/A opener N/A N/A urllib2 build_opener N/A N/A urllib2 HTTPBasicAuthHandler password_mgr auth N/A data N/A N/A N/A result N/A N/A opener open req N/A N/A N/A N/A urllib2 HTTPError N/A e N/A N/A N/A self show_response N/A N/A data N/A N/A N/A e fp read N/A result N/A N/A e code N/A e msg N/A N/A N/A urllib2 URLError N/A e N/A N/A result N/A 500 N/A str e N/A N/A N/A self show_response N/A N/A data N/A N/A result read N/A result N/A 200 OK N/A N/A self show_response N/A N/A N/A - 75 data N/A - 75 N/A result N/A N/A