Files
wg-backend-django/acer-env/lib/python3.10/site-packages/setuptools/__pycache__/dist.cpython-310.pyc

348 lines
36 KiB
Plaintext
Raw Normal View History

2022-11-30 15:58:16 +07:00
o
<00>Ԅc<D484><63><00>@s<>dgZddlZddlZddlZddlZddlZddlZddlZddl Zddl
Zddl Zddl Zddl mZddlmZddlmZddlmZddlZddlZddlmZmZmZddlmZdd lmZdd
lm Z m!Z!dd l m"Z"dd l#m$Z$dd l#m%Z%ddl&m'Z'ddl(m)Z)ddl*Z*ddl+Z*ddl*m,Z,ddl-m.Z.ddl/m0Z0ddl1Z1ddl2m3Z3er<>ddl4m5Z5e6d<16>e6d<17>dd<19>Z7dd<1B>Z8de9de9fdd<1F>Z:d d!d"e9dee9fd#d$<24>Z;d d!d"e9dee9fd%d&<26>Z<d d!d"e9deee9fd'd(<28>Z=d d!dee9fd)d*<2A>Z>d+d,<2C>Z?d-d.<2E>Z@d/d0<64>ZAeBeCfZDd1d2<64>ZEd3d4<64>ZFd5d6<64>ZGd7d8<64>ZHd9d:<3A>ZId;d<<3C>ZJd=d><3E>ZKd?d@<40>ZLdAdB<64>ZMdCdD<64>ZNdEdF<64>ZOdGdH<64>ZPdIdJ<64>ZQe.ejRjS<6A>ZTGdKd<00>deT<65>ZSGdLdM<64>dMe)<29>ZUdS)N<> Distribution<6F>N)<01> strtobool)<01>DEBUG<55><01>translate_longopt)<01>iglob)<03>List<73>Optional<61> TYPE_CHECKING)<01> defaultdict)<01>message_from_file)<02>DistutilsOptionError<6F>DistutilsSetupError)<01> rfc822_escape)<01> packaging)<01> ordered_set)<01>unique_everseen<65>)<01>SetuptoolsDeprecationWarning)<01>windows_support)<01> get_unpatched)<01>parse_configuration<6F><01>version)<01>Messagez&setuptools.extern.packaging.specifiersz#setuptools.extern.packaging.versioncCst<00>dt<02>t|<00>S)NzDo not call this function)<04>warnings<67>warn<72>DistDeprecationWarningr)<01>cls<6C>r<00>b/home/infidel/Sync/Project/ocp-wg-backend/acer-env/lib/python3.10/site-packages/setuptools/dist.py<70>_get_unpatched2s r!cCs(t|dd<00>}|durt<01>d<02>}||_|S)N<>metadata_version<6F>2.1)<04>getattrr<00>Versionr")<02>self<6C>mvrrr <00>get_metadata_version7s

r(<00>content<6E>returnc
CsJ|<00><00>}t|<01>dkr|d<00><02>Sd<03>|d<00><02>t<04>d<03>|dd<04><00><01>f<02>S)zFReverse RFC-822 escaping by removing leading whitespaces from content.rr<00>
N)<06>
splitlines<EFBFBD>len<65>lstrip<69>join<69>textwrap<61>dedent)r)<00>linesrrr <00>rfc822_unescape?s  *r3<00>msgr<00>fieldcCs||}|dkr
dS|S)zRead Message header field.<2E>UNKNOWNNr<00>r4r5<00>valuerrr <00>_read_field_from_msgGsr9cCst||<01>}|dur |St|<02>S)z4Read Message header field and apply rfc822_unescape.N)r9r3r7rrr <00>_read_field_unescaped_from_msgOs
r:cCs|<00>|d<01>}|gkr dS|S)z9Read Message header field and return all results as list.N)<01>get_all)r4r5<00>valuesrrr <00>_read_list_from_msgWs r=cCs|<00><00><00><01>}|dkr dS|S)Nr6)<02> get_payload<61>strip)r4r8rrr <00>_read_payload_from_msg_s r@cCsZt|<01>}t<01>|d<00>|_t|d<02>|_t|d<03>|_t|d<04>|_t|d<05>|_d|_t|d<07>|_ d|_
t|d<08>|_ t |d <09>|_ d
|vrGt|d
<EFBFBD>|_nd|_t |d <0B>|_|jdurb|jt<01>d <0C>krbt|<02>|_t|d<04>|_d |vrut|d <0A><02>d<0E>|_t|d<0F>|_t|d<10>|_|jt<01>d<11>kr<>t|d<12>|_t|d<13>|_t|d<14>|_n d|_d|_d|_t|d<15>|_dS)z-Reads the metadata values from a file object.zmetadata-version<6F>namer<00>summary<72>authorNz author-emailz home-page<67>licensez download-url<72> descriptionr#<00>keywords<64>,<2C>platform<72>
classifierz1.1<EFBFBD>requires<65>provides<65> obsoletesz license-file)r rr%r"r9rArErC<00>
maintainer<EFBFBD> author_email<69>maintainer_email<69>urlr:rD<00> download_url<72>long_descriptionr@<00>splitrFr=<00> platforms<6D> classifiersrJrKrL<00> license_files)r&<00>filer4rrr <00> read_pkg_filefsB        <02><02>
     rXcCs(d|vrt<00>d<02>|<00><02><00>d<01>d}|S)zF
Quick and dirty validation for Summary pypa/setuptools#1390.
r+z1newlines not allowed and will break in the futurer)rrr?rS)<01>valrrr <00> single_line<6E>s
rZc s<>|<00><00>}<02>fdd<02>}|dt|<02><01>|d|<00><02><00>|d|<00><03><00>|dt|<00><05><00><01>|d|<00><06><00>d}|D]\}}t||d <09>}|d urF|||<07>q3t|<00> <09><00>}|d
|<08>|j
r[|d |j
<EFBFBD>|j <0B> <0C>D] } |d d | <00>q`d<0E> |<00><0E><00>}
|
rx|d|
<EFBFBD>|<00><0F>D]} |d| <0B>q||<00><10>d|<00><11><00>|<00><10>d|<00><12><00>|<00><10>d|<00><13><00>|<00><10>d|<00><14><00>t|d<15>r<>|d|j<16>|jr<>|d|j<17>|jr<>t|j<18>D]} |d| <0C>q<>|<00><10>d|jp<>g<00><00><00>d|<00><1C><00>d S)z0Write the PKG-INFO format data to a file object.cs<00><00>d||f<00>dS)Nz%s: %s
)<01>write)<02>keyr8<00>rWrr <00> write_field<6C>sz#write_pkg_file.<locals>.write_fieldzMetadata-Version<6F>Namer%<00>Summaryz Home-page))<02>AuthorrC)z Author-emailrN)<02>
MaintainerrM)zMaintainer-emailrON<>Licensez Download-URLz Project-URLz%s, %srG<00>Keywords<64>Platform<72>
Classifier<EFBFBD>Requires<65>Provides<65> Obsoletes<65>python_requireszRequires-PythonzDescription-Content-TypezProvides-Extraz License-Filez
%s
)r(<00>str<74>get_name<6D> get_versionrZ<00>get_description<6F>get_urlr$r<00> get_licenserQ<00> project_urls<6C>itemsr/<00> get_keywords<64> get_platforms<6D> _write_list<73>get_classifiers<72> get_requires<65> get_provides<65> get_obsoletes<65>hasattrrj<00>long_description_content_type<70>provides_extras<61>sortedrVr[<00>get_long_description) r&rWrr^<00>optional_fieldsr5<00>attr<74>attr_valrD<00> project_urlrFrH<00>extrarr]r <00>write_pkg_file<6C>sJ   
<02> 
 
  
   r<>c CsTztj<01>d|<00>}|jrJ<00>WdSttttfy)}z td||f<00>|<04>d}~ww)Nzx=z4%r must be importable 'module:attrs' string (got %r)) <09> pkg_resources<65>
EntryPoint<EFBFBD>parse<73>extras<61> TypeError<6F>
ValueError<EFBFBD>AttributeError<6F>AssertionErrorr)<05>distr<74>r8<00>ep<65>errr <00>check_importable<6C>s
<02><02><08><02>r<EFBFBD>c Cs^zt|ttf<02>s
J<00>d<01>|<02>|ksJ<00>WdSttttfy.}z td||f<00>|<03>d}~ww)z"Verify that value is a string list<73>z%%r must be a list of strings (got %r)N) <09>
isinstance<EFBFBD>list<73>tupler/r<>r<>r<>r<>r<00>r<>r<>r8r<>rrr <00>assert_string_list<73>s
<02><02><08><02>r<EFBFBD>cCsd|}t|||<03>|D]%}|<00>|<04>stdd|<00><01>|<04>d<03>\}}}|r/||vr/tj<05>d||<05>q
dS)z(Verify that namespace packages are validz1Distribution contains no modules or packages for znamespace package %r<>.z^WARNING: %r is declared as a package namespace, but %r is not: please correct this in setup.pyN)r<><00>has_contents_forr<00>
rpartition<EFBFBD> distutils<6C>logr)r<>r<>r8<00> ns_packages<65>nsp<73>parent<6E>sep<65>childrrr <00> check_nsp<73>s$ 
<02><04> <04><02><04>r<EFBFBD>c
CsDz tt<01>t|<02><04><00><02>WdStttfy!}ztd<01>|<03>d}~ww)z+Verify that extras_require mapping is validz<64>'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.N) r<><00> itertools<6C>starmap<61> _check_extrarrr<>r<>r<>rr<>rrr <00> check_extrass<02><02><08><02>r<EFBFBD>cCs<|<00>d<01>\}}}|rt<01>|<04>rtd|<00><01>tt<01>|<01><01>dS)N<>:zInvalid environment marker: )<06> partitionr<6E><00>invalid_markerrr<><00>parse_requirements)r<><00>reqsrAr<><00>markerrrr r<>s r<>cCs&t|<02>|krd}t|j||d<02><02><01>dS)z)Verify that value is True, False, 0, or 1z0{attr!r} must be a boolean value (got {value!r}))r<>r8N)<03>boolr<00>format)r<>r<>r8<00>tmplrrr <00> assert_bool#s <04>r<EFBFBD>cCs(|s t<00>|<01>d<01>t<02>dSt|<01>d<02><02><01>)Nz is ignored.z is invalid.)rrrr<00>r<>r<>r8rrr <00>invalid_unless_false*sr<>c
Cs`ztt<01>|<02><01>t|ttf<02>rtd<01><01>WdSttfy/}z d}t|j ||d<03><02>|<03>d}~ww)z9Verify that install_requires is a valid requirements listzUnordered types are not allowedzm{attr!r} must be a string or list of strings containing valid project/version requirement specifiers; {error}<7D>r<><00>errorN)
r<EFBFBD>r<>r<>r<><00>dict<63>setr<74>r<>rr<><00>r<>r<>r8r<>r<>rrr <00>check_requirements1s<06><02><08><02>r<EFBFBD>c
CsLz tj<01>|<02>WdStjjtfy%}z d}t|j||d<02><02>|<03>d}~ww)z.Verify that value is a valid version specifierzF{attr!r} must be a string containing valid version specifiers; {error}r<>N)r<00>
specifiers<EFBFBD> SpecifierSet<65>InvalidSpecifierr<72>rr<>r<>rrr <00>check_specifier?s<02><08><02>r<EFBFBD>c
Cs6z tj<01>|<02>WdSty}zt|<03>|<03>d}~ww)z)Verify that entry_points map is parseableN)r<>r<><00> parse_mapr<70>rr<>rrr <00>check_entry_pointsJs 
<08><02>r<EFBFBD>cCst|t<01>s td<01><01>dS)Nztest_suite must be a string)r<>rkrr<>rrr <00>check_test_suiteRs
<04>r<EFBFBD>cCsZt|t<01>s td<01>|<01><01><01>|<02><04>D]\}}t|t<05>s!td<02>||<03><02><01>t|d<03>|<01>|<04>qdS)z@Verify that value is a dictionary of package names to glob listszT{!r} must be a dictionary mapping package names to lists of string wildcard patternsz,keys of {!r} dict must be strings (got {!r})zvalues of {!r} dictN)r<>r<>rr<>rrrkr<>)r<>r<>r8<00>k<>vrrr <00>check_package_dataWs
<04>

<04><04>r<EFBFBD>cCs(|D]}t<00>d|<03>stj<03>d|<03>qdS)Nz \w+(\.\w+)*z[WARNING: %r not a valid package name; please use only .-separated package names in setup.py)<05>re<72>matchr<68>r<>r)r<>r<>r8<00>pkgnamerrr <00>check_packagesfs <04><02><04>r<EFBFBD>c@s~eZdZdZdd<03>eejdd<03>dd<03>d<06>ZdZdd <09>Z dUd
d <0B>Z
d d <0A>Z e dd<0F><00>Z e dd<11><00>Zdd<13>Zdd<15>Ze dd<17><00>Zdd<19>Zdd<1B>Zdd<1D>Ze dd<1F><00>ZdUd d!<21>Zd"d#<23>Zd$d%<25>Zd&d'<27>ZdUd(d)<29>ZdVd+d,<2C>Zd-d.<2E>Zd/d0<64>Ze d1d2<64><00>Zd3d4<64>Zd5d6<64>Z d7d8<64>Z!d9d:<3A>Z"d;d<<3C>Z#d=d><3E>Z$d?d@<40>Z%dAdB<64>Z&dCdD<64>Z'dEdF<64>Z(dGdH<64>Z)dIdJ<64>Z*dKdL<64>Z+dMdN<64>Z,dOdP<64>Z-dQdR<64>Z.dSdT<64>Z/dS)WraG Distribution with support for tests and package data
This is an enhanced version of 'distutils.dist.Distribution' that
effectively adds the following new optional keyword arguments to 'setup()':
'install_requires' -- a string or sequence of strings specifying project
versions that the distribution requires when installed, in the format
used by 'pkg_resources.require()'. They will be installed
automatically when the package is installed. If you wish to use
packages that are not available in PyPI, or want to give your users an
alternate download location, you can add a 'find_links' option to the
'[easy_install]' section of your project's 'setup.cfg' file, and then
setuptools will scan the listed web pages for links that satisfy the
requirements.
'extras_require' -- a dictionary mapping names of optional "extras" to the
additional requirement(s) that using those extras incurs. For example,
this::
extras_require = dict(reST = ["docutils>=0.3", "reSTedit"])
indicates that the distribution can optionally provide an extra
capability called "reST", but it can only be used if docutils and
reSTedit are installed. If the user installs your package using
EasyInstall and requests one of your extras, the corresponding
additional requirements will be installed if needed.
'test_suite' -- the name of a test suite to run for the 'test' command.
If the user runs 'python setup.py test', the package will be installed,
and the named test suite will be run. The format is the same as
would be used on a 'unittest.py' command line. That is, it is the
dotted name of an object to import and call to generate a test suite.
'package_data' -- a dictionary mapping package names to lists of filenames
or globs to use to find data files contained in the named packages.
If the dictionary has filenames or globs listed under '""' (the empty
string), those names will be searched for in every package, in addition
to any names for the specific package. Data files found using these
names/globs will be installed along with the package, in the same
location as the package. Note that globs are allowed to reference
the contents of non-package subdirectories, as long as you use '/' as
a path separator. (Globs are automatically converted to
platform-specific paths at runtime.)
In addition to these new keywords, this class also has several new methods
for manipulating the distribution's contents. For example, the 'include()'
and 'exclude()' methods can be thought of as in-place add and subtract
commands that add or remove packages, modules, extensions, and so on from
the distribution.
cC<00>dS<00>Nrrrrr <00><lambda><3E><00>zDistribution.<lambda>cCr<>r<>rrrrr r<><00>r<>cCr<>r<>rrrrr r<><00>r<>)r{rqr|<00> license_filerVNcCst|r
d|vs
d|vr dSt<00>t|d<00><01><01><03>}tjj<05>|<02>}|dur6|<03>d<03>s8t<00>t|d<00><01>|_ ||_
dSdSdS)NrArzPKG-INFO) r<><00> safe_namerk<00>lower<65> working_set<65>by_key<65>get<65> has_metadata<74> safe_version<6F>_version<6F> _patched_dist)r&<00>attrsr\r<>rrr <00>patch_missing_pkg_info<66>s
<08>z#Distribution.patch_missing_pkg_infocs<>t<00>d<01>}|s
i<00>_|p i}g<00>_|<01>dd<00><02>_<04><00>|<01>|<01>dg<00><02>_|<01>dg<00><02>_t<08> d<05>D] }t
<EFBFBD><00><01> |j d<00>q0t <0A><0E><00>fdd<07>|<01><0F>D<00><01><00><00>|<01><00><00><11><00><12>jj<14><01><01>j_<14><00><15>dS)N<> package_data<74>src_root<6F>dependency_links<6B>setup_requires<65>distutils.setup_keywordscs i|] \}}|<01>jvr||<02>qSr)<01>_DISTUTILS_UNSUPPORTED_METADATA<54><03>.0r<EFBFBD>r<><00>r&rr <00>
<dictcomp><3E>s <02><06>z)Distribution.__init__.<locals>.<dictcomp>)rzr<><00>
dist_files<EFBFBD>popr<70>r<>r<>r<>r<><00>iter_entry_points<74>vars<72>
setdefaultrA<00> _Distribution<6F>__init__rr<00>_set_metadata_defaults<74>_normalize_version<6F>_validate_version<6F>metadatar<00>_finalize_requires)r&r<><00>have_package_datar<61>rr<>r r<><00>s,


<04><04>
 <08> zDistribution.__init__cCs4|j<00><01>D]\}}t|j<03><01>||<01>||<03><00><02>qdS)z<>
Fill-in missing metadata fields not supported by distutils.
Some fields may have been set by other tools (e.g. pbr).
Those fields (vars(self.metadata)) take precedence to
supplied attrs.
N)r<>rrr<>r<>r<>r<>)r&r<><00>option<6F>defaultrrr r<><00>s<04>z#Distribution._set_metadata_defaultscCsTt|tj<02>s
|dur |Sttj<05>|<00><01>}||kr(d}t<07>|j dit
<EFBFBD><00><01><01>|S|S)Nz)Normalizing '{version}' to '{normalized}'r) r<><00>
setuptools<EFBFBD>sicrkrrr%rrr<><00>locals)r<00>
normalizedr<EFBFBD>rrr r<><00>szDistribution._normalize_versionc Csft|tj<02>r
t|<00>}|dur1z tj<05>|<00>W|Stjjtfy0t <09>
d|<00>t <0B> |<00>YSw|S)Nz<4E>The version specified (%r) is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.) r<><00>numbers<72>Numberrkrrr%<00>InvalidVersionr<6E>rrr<>r<>rrrr r<><00>s  <14><02><04><02>zDistribution._validate_versioncCsft|dd<02>r |j|j_t|dd<02>r)|j<03><04>D]}|<01>d<04>d}|r(|jj<06>|<01>q|<00><08>|<00> <09>dS)z<>
Set `metadata.python_requires` and fix environment markers
in `install_requires` and `extras_require`.
rjN<>extras_requirer<65>r)
r$rjr<>r<><00>keysrSr|<00>add<64>_convert_extras_requirements<74>"_move_install_requirements_markers)r&r<>rrr r<>s 
 <02> zDistribution._finalize_requirescCsht|dd<02>pi}tt<02>|_|<01><04>D] \}}|j|t<05>|<03>D]}|<00>|<04>}|j||<00>|<04>qqdS)z<>
Convert requirements in `extras_require` of the form
`"extra": ["barbazquux; {marker}"]` to
`"extra:{marker}": ["barbazquux"]`.
r<>N) r$r r<><00>_tmp_extras_requirerrr<>r<><00> _suffix_for<6F>append)r&<00> spec_ext_reqs<71>sectionr<6E><00>r<>suffixrrr r<>s


<02><04>z)Distribution._convert_extras_requirementscCs|jr
dt|j<00>SdS)ze
For a requirement, return the 'extras_require' suffix for
that requirement.
r<>r<>)r<>rk<00><01>reqrrr r<>'szDistribution._suffix_forcs<>dd<02>}t<00>dd<04>p d}tt<02>|<02><01>}t||<03>}t<05>||<03>}ttt|<04><02><01>_ |D]}<06>j
dt|j <0B><00> |<06>q(t <0A>fdd<08><08>j
<EFBFBD><0E>D<00><01><01>_dS) zv
Move requirements in `install_requires` that are using environment
markers `extras_require`.
cSs|j Sr<><00>r<>rrrr <00> is_simple_req9szFDistribution._move_install_requirements_markers.<locals>.is_simple_req<65>install_requiresNrr<>c3s.<00>|]\}}|dd<01>t<00>j|<02>D<00>fVqdS)cS<00>g|]}t|<01><01>qSr)rk)r<>rrrr <00>
<listcomp>E<00>zMDistribution._move_install_requirements_markers.<locals>.<genexpr>.<listcomp>N)<02>map<61>
_clean_reqr<EFBFBD>r<>rr <00> <genexpr>Ds
<02><18>
<EFBFBD>zBDistribution._move_install_requirements_markers.<locals>.<genexpr>)r$r<>r<>r<><00>filterr<72><00> filterfalser
rkrr<>r<>r<>r<>rrr<>)r&r<00>spec_inst_reqs<71> inst_reqs<71> simple_reqs<71> complex_reqsrrr<>r r<>/s

  <0E>z/Distribution._move_install_requirements_markerscCs
d|_|S)zP
Given a Requirement, remove environment markers and return it.
Nr)r&rrrr r IszDistribution._clean_reqcCs`|jj}|r|ng}|jj}|r||vr|<02>|<03>|dur#|dur#d}tt|<00>|<02><01><01>|j_dS)z<Compute names of all license files which should be included.N)z LICEN[CS]E*zCOPYING*zNOTICE*zAUTHORS*)r<>rVr<>r<>r<>r<00>_expand_patterns)r&rV<00>patternsr<73>rrr <00>_finalize_license_filesPs  
  <0C>z$Distribution._finalize_license_filescCsdd<02>|D<00>S)z<>
>>> list(Distribution._expand_patterns(['LICENSE']))
['LICENSE']
>>> list(Distribution._expand_patterns(['setup.cfg', 'LIC*']))
['setup.cfg', 'LICENSE']
css<<00>|]}tt|<01><01>D]}|<02>d<00>s
tj<04>|<02>r
|Vq
qdS)<02>~N)r}r<00>endswith<74>os<6F>path<74>isfile)r<><00>patternrrrr r ks<02>
<04><02>
<02> <0C>z0Distribution._expand_patterns.<locals>.<genexpr>r)rrrr rcs<06>zDistribution._expand_patternsc Cs<>ddlm}tjtjkrgngd<03>}t|<03>}|dur|<00><06>}tr%|<00>d<05>|<02>}t |_
|D]g}t j |dd<07><02>}trE|<00>dj d it<0E><00><01><01>|<04>|<06>Wd<00>n1sTwY|<04><10>D]2}|<04>|<07>}|<00>|<07>} |D]#}
|
d ksu|
|vrvqk|<04>||
<EFBFBD>} |<00>|
|<07>}
|<00>|
|<07>}
|| f| |
<qkq]|<04><16>q-d
|jvr<>dS|jd
<00><18>D]7\}
\} } |j<19>|
<EFBFBD>} | r<>t| <0B> } n|
d vr<>t| <0B>} z
t|| p<>|
| <0B>Wq<>ty<>}zt|<0E>|<0E>d}~wwdS) z<>
Adapted from distutils.dist.Distribution.parse_config_files,
this method provides the same functionality in subtly-improved
ways.
r)<01> ConfigParser) z install-basezinstall-platbasez install-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptsz install-data<74>prefixz exec-prefix<69>home<6D>user<65>rootNz"Distribution.parse_config_files():<3A>utf-8)<01>encodingz reading {filename}<7D>__name__<5F>global)<02>verbose<73>dry_runr)<1E> configparserr<00>sysr<00> base_prefix<69> frozenset<65>find_config_filesr<00>announcerk<00> optionxform<72>io<69>openr<6E>r<><00> read_file<6C>sections<6E>options<6E>get_option_dictr<74><00>warn_dash_deprecation<6F>make_option_lowercaser<65><00>command_optionsrr<00> negative_optr<00>setattrr<72>r )r&<00> filenamesr<00>ignore_options<6E>parser<65>filename<6D>readerr<72>r2<00>opt_dict<63>optrY<00>src<72>aliasr<73>rrr <00>_parse_config_filesssZ 
<06><02>
 <1C> 

   <02>
  
<08><02><04>z Distribution._parse_config_filescCsd|dvr|S|<01>dd<03>}tjj|<00><04>}|<02>d<04>s#|dkr#||vr#|Sd|vr0t<06>d||f<00>|S)N)zoptions.extras_requirezoptions.data_files<65>-<2D>_r2r<>zrUsage of dash-separated '%s' will not be supported in future versions. Please use the underscore name '%s' instead)<08>replacer<65><00>command<6E>__all__<5F>_setuptools_commands<64>
startswithrr)r&r?r<><00>underscore_opt<70>commandsrrr r4<00>s$ <02><02><02><02><04>z"Distribution.warn_dash_deprecationcCs4z t<00>d<01>}t|<01>d<02><01>WStjygYSw)Nr<4E><00>distutils.commands)r<><00>get_distributionr<6E><00> get_entry_map<61>DistributionNotFound)r&r<>rrr rH<00>s 
<02>z!Distribution._setuptools_commandscCs4|dks|<01><00>r
|S|<01><01>}t<02>d|||f<00>|S)Nr<4E>zlUsage of uppercase key '%s' in '%s' will be deprecated in future versions. Please use lowercase '%s' instead)<04>islowerr<72>rr)r&r?r<><00> lowercase_optrrr r5<00>s<02><04>z"Distribution.make_option_lowercasec CsH|<01><00>}|dur |<00>|<03>}tr|<00>d|<00>|<02><04>D]<5D>\}\}}tr,|<00>d|||f<00>z
dd<05>|jD<00>}Wn tyAg}Ynwz|j}Wn tyRi}Ynwz=t|t <09>} ||vrk| rkt
|||t |<06> <00>n$||vrz| rzt
||t |<06><01>nt ||<04>r<>t
|||<06>n t d|||f<00><01>Wqty<>}
zt |
<EFBFBD>|
<EFBFBD>d}
~
wwdS)a<>
Set the options for 'command_obj' from 'option_dict'. Basically
this means copying elements of a dictionary ('option_dict') to
attributes of an instance ('command').
'command_obj' must be a Command instance. If 'option_dict' is not
supplied, uses the standard option dictionary for this command
(from 'self.command_options').
(Adopted from distutils.dist.Distribution._set_command_options)
Nz# setting options for '%s' command:z %s = %s (from %s)cSrrr)r<><00>orrr rr z5Distribution._set_command_options.<locals>.<listcomp>z1error in %s: command '%s' has no such option '%s')<0F>get_command_namer3rr,rr<00>boolean_optionsr<73>r7r<>rkr8rrzr r<>) r&<00> command_obj<62> option_dict<63> command_namer<65><00>sourcer8<00> bool_opts<74>neg_opt<70> is_stringr<67>rrr <00>_set_command_options<6E>sJ 
 <02>
 <02>
  
<02><04><04>
<08><02><04>z!Distribution._set_command_optionsFcCs0|j|d<01>t||j|d<02>|<00><03>|<00><04>dS)zYParses configuration files from various levels
and loads configuration.
)r9)<01>ignore_option_errorsN)rBrr6r<>r)r&r9r]rrr <00>parse_config_filess <06> zDistribution.parse_config_filescCs8tjjt<00>|<01>|jdd<02>}|D]
}tjj|dd<03>q|S)zResolve pre-setup requirementsT)<02> installer<65>replace_conflicting)rE)r<>r<><00>resolver<65><00>fetch_build_eggr<67>)r&rJ<00>resolved_distsr<73>rrr <00>fetch_build_eggs*s<06>zDistribution.fetch_build_eggscCsPd}dd<03>}t<00>|<01>}t<02>|j|<03>}tdd<05>|<04>}t||d<06>D]}||<00>qdS)z<>
Allow plugins to apply arbitrary operations to the
distribution. Each hook may optionally define a 'order'
to influence the order of execution. Smaller numbers
go first and the default is 0.
z(setuptools.finalize_distribution_optionscSs t|dd<02>S)N<>orderr)r$)<01>hookrrr <00>by_order>s z/Distribution.finalize_options.<locals>.by_ordercSs|<00><00>Sr<>)<01>load)r<>rrr r<>Csz/Distribution.finalize_options.<locals>.<lambda>)r\N)r<>r<>r<>r<00>_removedr
r})r&<00>grouprg<00>defined<65>filtered<65>loadedr<64>rrr <00>finalize_options5s

<04>zDistribution.finalize_optionscCsdh}|j|vS)z<>
When removing an entry point, if metadata is loaded
from an older version of Setuptools, that removed
entry point will attempt to be loaded and will fail.
See #2765 for more details.
<20> 2to3_doctests)rA)r<><00>removedrrr riGs
<04>
zDistribution._removedcCsJt<00>d<01>D]}t||jd<00>}|dur"|j|jd<02>|<01><06>||j|<02>qdS)Nr<4E><00>r_)r<>r<>r$rA<00>requirerbrh)r&r<>r8rrr <00>_finalize_setup_keywordsUs<02><04>z%Distribution._finalize_setup_keywordscCs<>tj<01>tjd<01>}tj<01>|<01>sDt<00>|<01>t<06>|<01>tj<01>|d<02>}t|d<03><02>}|<03> d<04>|<03> d<05>|<03> d<06>Wd<00>|S1s?wY|S)Nz.eggsz
README.txt<78>wzcThis directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.
zAThis directory caches those eggs to prevent repeated downloads.
z/However, it is safe to delete this directory.
)
rrr/<00>curdir<69>exists<74>mkdirr<00> hide_filer/r[)r&<00> egg_cache_dir<69>readme_txt_filename<6D>frrr <00>get_egg_cache_dir\s" 

 <04><04> 
<EFBFBD> <10> zDistribution.get_egg_cache_dircCsddlm}|||<01>S)z Fetch an egg needed for buildingr)rb)<02>setuptools.installerrb)r&rrbrrr rbos 
zDistribution.fetch_build_eggcCs\||jvr
|j|St<01>d|<01>}|D]}|j|jd<02>|<03><05>|j|<}|St<06>||<01>S)z(Pluggable version of get_command_class()rLrq)<08>cmdclassr<73>r<>rrrbrhr<><00>get_command_class)r&rF<00>epsr<73>r~rrr rus

  zDistribution.get_command_classcC<00>:t<00>d<01>D]}|j|jvr|<01><04>}||j|j<qt<05>|<00>S<00>NrL)r<>r<>rAr~rar<><00>print_commands<64>r&r<>r~rrr r<><00><00>   <02>
zDistribution.print_commandscCr<>r<>)r<>r<>rAr~rar<><00>get_command_listr<74>rrr r<><00>r<>zDistribution.get_command_listcK<00>@|<01><00>D]\}}t|d|d<02>}|r||<03>q|<00>||<03>qdS)a<>Add items to distribution that are named in keyword arguments
For example, 'dist.include(py_modules=["x"])' would add 'x' to
the distribution's 'py_modules' attribute, if it was not already
there.
Currently, this method only supports inclusion for attributes that are
lists or tuples. If you need to add support for adding to other
attributes in this or a subclass, you can add an '_include_X' method,
where 'X' is the name of the attribute. The method will be called with
the value passed to 'include()'. So, 'dist.include(foo={"bar":"baz"})'
will try to call 'dist._include_foo({"bar":"baz"})', which can then
handle whatever special inclusion logic is needed.
<20> _include_N)rrr$<00> _include_misc)r&r<>r<>r<><00>includerrr r<><00>s 
<04>zDistribution.includecsj<00>d<00>|jr<13><00>fdd<03>|jD<00>|_|jr"<22><00>fdd<03>|jD<00>|_|jr3<72><00>fdd<03>|jD<00>|_dSdS)z9Remove packages, modules, and extensions in named packager<65>c<00>"g|] }|<01>kr|<01><00><01>s|<01>qSr<00>rI<00>r<><00>p<><02>package<67>pfxrr r<00><00><02><02><06>z0Distribution.exclude_package.<locals>.<listcomp>cr<>rr<>r<>r<>rr r<00>r<>cs&g|]}|j<00>kr|j<00><01><01>s|<01>qSr)rArIr<>r<>rr r<00>s<02>
<02><06>N)<03>packages<65>
py_modules<EFBFBD> ext_modules)r&r<>rr<>r <00>exclude_package<67>s <08> <08>  <0C><04>zDistribution.exclude_packagecCs2|d}|<00><00>D]}||ks|<03>|<02>rdSqdS)z<Return true if 'exclude_package(package)' would do somethingr<67>TN)<02>iter_distribution_namesrI)r&r<>r<>r<>rrr r<><00>s  <02><04>zDistribution.has_contents_forc
s<>t<00>t<01>s td|<01>f<00><01>zt||<01>}Wnty'}ztd|<00>|<04>d}~ww|dur7t|t<01>s7t|d<00><01>|rHt||<01>fdd<06>|D<00><01>dSdS)zAHandle 'exclude()' for list/tuple attrs without a special handlerz(%s: setting must be a list or tuple (%r)<29> %s: No such distribution settingN<67>4: this setting cannot be changed via include/excludec<00>g|]}|<01>vr|<01>qSrr<00>r<><00>item<65>r8rr r<00><00>z.Distribution._exclude_misc.<locals>.<listcomp><3E>r<><00>sequencerr$r<>r8)r&rAr8<00>oldr<64>rr<>r <00> _exclude_misc<73>s"

<04><08><02><04><04>zDistribution._exclude_miscc
s<>t|t<01>s td||f<00><01>zt||<01><02>Wnty'}ztd|<00>|<03>d}~ww<00>dur4t|||<02>dSt<00>t<01>s?t|d<00><01><01>fdd<06>|D<00>}t||<01>|<00>dS)zAHandle 'include()' for list/tuple attrs without a special handlerz%s: setting must be a list (%r)r<>Nr<4E>cr<>rrr<><00>r<>rr r<00>r<>z.Distribution._include_misc.<locals>.<listcomp>r<>)r&rAr8r<><00>newrr<>r r<><00>s
<08><02>
<04>zDistribution._include_misccKr<>)aRemove items from distribution that are named in keyword arguments
For example, 'dist.exclude(py_modules=["x"])' would remove 'x' from
the distribution's 'py_modules' attribute. Excluding packages uses
the 'exclude_package()' method, so all of the package's contained
packages, modules, and extensions are also excluded.
Currently, this method only supports exclusion from attributes that are
lists or tuples. If you need to add support for excluding from other
attributes in this or a subclass, you can add an '_exclude_X' method,
where 'X' is the name of the attribute. The method will be called with
the value passed to 'exclude()'. So, 'dist.exclude(foo={"bar":"baz"})'
will try to call 'dist._exclude_foo({"bar":"baz"})', which can then
handle whatever special exclusion logic is needed.
<20> _exclude_N)rrr$r<>)r&r<>r<>r<><00>excluderrr r<><00>s 
<04>zDistribution.excludecCs,t|t<01>s td|f<00><01>tt|j|<01><02>dS)Nz.packages: setting must be a list or tuple (%r))r<>r<>rr<>r
r<>)r&r<>rrr <00>_exclude_packagess
<04>zDistribution._exclude_packagesc
Cs<>|jj|_|jj|_|d}|<00>d<02>}||vr6||\}}||=ddl}|<07>|d<03>|dd<04><|d}||vst<06>|||<02>}|<00>|<03>} t | dd<00>rWd|f|<00>|<03>d<|durWgS|S)Nr<00>aliasesTr<00>command_consumes_arguments<74> command line<6E>args)
<EFBFBD> __class__<5F>global_optionsr7r3<00>shlexrSr<><00>_parse_command_optsrr$)
r&r;r<>rFr<>r@rAr<><00>nargs<67> cmd_classrrr r<>s$


 <08>
 z Distribution._parse_command_optsc Cs<>i}|j<00><01>D]W\}}|<03><01>D]N\}\}}|dkrq|<04>dd<03>}|dkrO|<00>|<02>}|j<04><05>}|<08>t|di<00><03>|<08><01>D]\} }
|
|krI| }d}nq;td<07><01>n|dkrUd}||<01> |i<00>|<qq|S) ahReturn a '{cmd: {opt:val}}' map of all command-line options
Option names are all long, but do not include the leading '--', and
contain dashes rather than underscores. If the option doesn't take
an argument (e.g. '--quiet'), the 'val' is 'None'.
Note that options provided by config files are intentionally excluded.
r<>rDrCrr7NzShouldn't be able to get herer)
r6rrrE<00>get_command_objr7<00>copy<70>updater$r<>r<>) r&<00>d<>cmd<6D>optsr?r@rY<00>cmdobjrZ<00>neg<65>posrrr <00>get_cmdline_options#s.
 

<02><02><02>z Distribution.get_cmdline_optionsccsx<00>|jpdD]}|Vq|jpdD]}|Vq|jpdD]}t|t<04>r(|\}}n|j}|<04>d<02>r6|dd<04>}|VqdS)z@Yield all packages, modules, and extension names in distributionr<00>moduleNi<4E><69><EFBFBD><EFBFBD>)r<>r<>r<>r<>r<>rAr)r&<00>pkgr<67><00>extrA<00> buildinforrr r<>Ks<02>


 <04>z$Distribution.iter_distribution_namesc Cs<>ddl}|jr t<02>||<01>St|jtj<07>st<02>||<01>S|jj<08> <09>dvr(t<02>||<01>S|jj}|jj
}|j dkr7dp8d}|jj }t<06>|j<05> <0A>d|||<06>|_zt<02>||<01>Wt<06>|j<05> <0A>||||<06>|_St<06>|j<05> <0A>||||<06>|_w)z<>If there were any non-global "display-only" options
(--help-commands or the metadata display options) on the command
line, display the requested info and return true; else return
false.
rN)r!<00>utf8<66>win32r+r!)r(<00> help_commandsr<73><00>handle_display_optionsr<73><00>stdoutr.<00> TextIOWrapperr"r<><00>errorsrH<00>line_buffering<6E>detach)r&<00> option_orderr(r"r<><00>newliner<65>rrr r<>]s*   <06>  <0C><08>z#Distribution.handle_display_optionsr<73>)NF)0r#<00>
__module__<EFBFBD> __qualname__<5F>__doc__r<5F>r<00>
OrderedSetr<EFBFBD>r<>r<>r<>r<><00> staticmethodr<64>r<>r<>r<>r<>r<>r rrrBr4rHr5r\r^rdrnrirsr|rbrr<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>rrrr rssh4<06>





O
.  
   ( c@seZdZdZdS)rzrClass for warning about deprecations in dist in
setuptools. Not ignored by default, unlike DeprecationWarning.N)r#r<>r<>r<>rrrr r<00>sr)VrGr.r(r<>rrr<><00> distutils.logr<67><00>distutils.core<72> distutils.cmd<6D>distutils.dist<73>distutils.command<6E>distutils.utilr<00>distutils.debugr<00>distutils.fancy_getoptr<00>globrr<>r0<00>typingrr r
<00> collectionsr <00>emailr <00>distutils.errorsr rr<00>setuptools.externrr<00> setuptools.extern.more_itertoolsrr<>rr<><00>setuptools.commandr<00>setuptools.monkeyr<00>setuptools.configrr<><00>setuptools.extern.packagingr<00> email.messager<00>
__import__r!r(rkr3r9r:r=r@rXrZr<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<>r<><00>corerr<>rrrrr <00><module>s<>                0 >