| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/distutils/command/ |
Upload File : |
Ñò
ÉÉŽJc @ s˜ d Z d Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z d d k
Td d k l Z d e f d „ ƒ YZ
d S( sh distutils.command.register
Implements the Distutils 'register' command (register with the repository).
s9 $Id: register.py 67944 2008-12-27 13:28:42Z tarek.ziade $iÿÿÿÿN( t
PyPIRCCommand( t *( t logt registerc B s… e Z d Z e i d g Z e i d d g Z d „ Z d „ Z d „ Z d „ Z
d „ Z d „ Z d
„ Z
d „ Z d
d „ Z RS( s7 register the distribution with the Python package indexs list-classifierss list the valid Trove classifierst verifyc C s t i | ƒ d | _ d S( Ni ( R t initialize_optionst list_classifiers( t self( ( s0 /usr/lib/python2.6/distutils/command/register.pyR s
c C s\ | i ƒ | i ƒ | i ƒ | i o | i ƒ n# | i o | i ƒ n | i ƒ d S( N( t finalize_optionst _set_configt check_metadatat dry_runt verify_metadataR t classifierst
send_metadata( R ( ( s0 /usr/lib/python2.6/distutils/command/register.pyt run s
c C sï | i i } g } x? d D]7 } t | | ƒ o
t | | ƒ p | i | ƒ q q W| o! | i d t i | d ƒ ƒ n | i o# | i p | i d d ƒ që nC | i
o# | i p | i d d ƒ që n | i d
d d ƒ d
S( sï 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.
t namet versiont urls missing required meta-data: s , s) missing meta-data: if 'author' supplied, s# 'author_email' must be supplied toos- missing meta-data: if 'maintainer' supplied, s' 'maintainer_email' must be supplied toos4 missing meta-data: either (author and author_email) s% or (maintainer and maintainer_email) s must be suppliedN( s names versionR ( t distributiont metadatat hasattrt getattrt appendt warnt stringt joint authort author_emailt
maintainert maintainer_email( R R t missingt attr( ( s0 /usr/lib/python2.6/distutils/command/register.pyR
* s(
c C s· | i ƒ } | h j oA | d | _ | d | _ | d | _ | d | _ t | _ nZ | i d | i f j o t d | i ƒ ‚ n | i d j o | i | _ n t | _ d S( s: Reads the configuration file and set attributes.
t usernamet passwordt
repositoryt realmt pypis %s not found in .pypircN(
t _read_pypircR! R"