/usr/lib/python2.6/site-packages/pbr
Edit: /usr/lib/python2.6/site-packages/pbr/core.pyc (3406B)
Ñò
;vVc
@ sÑ d d k l Z d d k l 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 l
Z
e i Z d „ Z
d „ Z e i d d j o e Z e f Z n e Z e e f Z d
„ Z d S( iÿÿÿÿ( t core( t errorsN( t dist( t utilc C s t i t i ƒ t _ d S( N( R t _get_unpatchedR t Distribution( ( ( s% /tmp/pip-build-cD3xZi/pbr/pbr/core.pyt _monkeypatch_distribution= s c C s
t t _ d S( N( t _saved_core_distributionR R ( ( ( s% /tmp/pip-build-cD3xZi/pbr/pbr/core.pyt! _restore_distribution_monkeypatchA s i i c s( zt ƒ | p d St | t ƒ o t i i | ƒ } n t i i d ƒ } t i i | ƒ p t i d | ƒ ‚ n y t i
| ƒ } WnR t j
oF t i
ƒ d } t i d ƒ t i d | | i i | f ƒ ‚ n X| oÁ x¾ | i ƒ D]¬ \ } } t | i d | ƒ o t | i d | ƒ | ƒ qô t | i | ƒ o t | i | | ƒ qô t | | ƒ o t | | | ƒ qô d t | ƒ } t i | ƒ qô Wn t i i | ƒ t | i i t t f ƒ o t! | i i ƒ | i _ n d d
g ‰ t i" ‡ f d † ƒ | _# Wd t$ ƒ Xd S( s9 Implements the actual pbr setup() keyword. When used, this should be
the only keyword in your setup() aside from `setup_requires`.
If given as a string, the value of pbr is assumed to be the relative path
to the setup.cfg file to use. Otherwise, if it evaluates to true, it
simply assumes that pbr should be used, and the default 'setup.cfg' is
used.
This works by reading the setup.cfg file, parsing out the supported
metadata and command options, and using them to rebuild the
`DistributionMetadata` object and set the newly added command options.
The reason for doing things this way is that a custom `Distribution` class
will not play nicely with setup_requires; however, this implementation may
not work well with distributions that do use a `Distribution` subclass.
Ns setup.cfgs% The setup.cfg file %s does not exist.i s
Error parsings Error parsing %s: %s: %st set_s Unknown distribution option: %ss
pre_hook.*s post_hook.*c s
t i ˆ ƒ S( ( R t
IgnoreDict( ( t ignore( s% /tmp/pip-build-cD3xZi/pbr/pbr/core.pyt
— s (% R t
isinstancet string_typet ost patht abspatht existsR t DistutilsFileErrorR t cfg_to_argst Exceptiont syst exc_infot loggingt exceptiont DistutilsSetupErrort __class__t __name__t itemst hasattrt metadatat getattrt setattrt reprt warningst warnR R t finalize_optionst versiont
integer_typest floatt strt DefaultGetDictt command_optionsR ( R t attrt valueR t attrst et keyt valt msg( ( R s% /tmp/pip-build-cD3xZi/pbr/pbr/core.pyt pbrM sF
!
( t distutilsR R R R R R# t
setuptoolsR R3 R R R R R t version_infoR) R t intR' t
basestringt long( ( ( s% /tmp/pip-build-cD3xZi/pbr/pbr/core.pyt . s