źh9zdZddlZddlmZddlmZddlmZmZddl m Z ddl m Z dd l mZGd d eZdS) zdistutils.command.bdist_dumb Implements the Distutils 'bdist_dumb' command (create a "dumb" built distribution -- i.e., just an archive to be unpacked under $prefix or $exec_prefix).N)Command) get_platform) remove_treeensure_relative)DistutilsPlatformError)get_python_version)logc heZdZdZddddezfdddd d d d g Zgd ZdddZdZdZ dZ dS) bdist_dumbz"create a "dumb" built distribution)z bdist-dir=dz1temporary directory for creating the distributionz plat-name=pz;platform name to embed in generated filenames (default: %s))zformat=fz>archive format to create (tar, gztar, bztar, xztar, ztar, zip)) keep-tempkzPkeep the pseudo-installation tree around after creating the distribution archive)z dist-dir=r z-directory to put final built distributions in) skip-buildNz2skip rebuilding everything (for testing/debugging))relativeNz7build the archive using relative paths (default: false))zowner=uz@Owner name used when creating a tar file [default: current user])zgroup=gzAGroup name used when creating a tar file [default: current group])rrrgztarzip)posixntcd|_d|_d|_d|_d|_d|_d|_d|_d|_dS)Nr) bdist_dir plat_nameformat keep_tempdist_dir skip_buildrownergroup)selfs /builddir/build/BUILD/imunify360-venv-2.5.2/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_distutils/command/bdist_dumb.pyinitialize_optionszbdist_dumb.initialize_options=sE     c`|j?|dj}tj|d|_|jH |jtj|_n*#t$rtdtjzwxYw| dddddS)Nbdistdumbz@don't know how to create dumb built distributions on platform %s)rr)rr)r r ) rget_finalized_command bdist_baseospathjoinrdefault_formatnameKeyErrorrset_undefined_options)r#r+s r$finalize_optionszbdist_dumb.finalize_optionsHs > !33G<<GJW\\*f==DN ;  "1"':    ,%')w/  ""  $ & (      s A,,'Bc:|js|d|dd}|j|_|j|_d|_t jd|j|dd|j |j }tj |j|}|js|j}n|j rJ|j|jkr:t)dt+|jd t+|jd tj |jt-|j}|||j||j|j }|j rt5}nd }|j jd ||f|jst=|j|jdSdS)Nbuildinstall)reinit_subcommandsrzinstalling to %sz{}.{}zLcan't make a dumb built distribution where base and platbase are different (z, ))root_dirr!r"anyr )dry_run) r run_commandreinitialize_commandrrootwarn_dirr infor distribution get_fullnamerr,r-r.rrhas_ext_modules install_baseinstall_platbaserreprr make_archiver!r"r dist_filesappendrrr<)r#r6archive_basenamepseudoinstall_root archive_rootfilename pyversions r$runzbdist_dumb.run]s &   W % % %++I!+LL~ !_ #T^444 ####>>   * * , ,dn   W\\$-9IJJ} >LL 0022 $(@@@,,G0111148P3Q3Q3Q3QS "w||NOG4H$I$I   $$  K!** %     , , . . *,,III $++\9h,OPPP~ >  = = = = = = > >r&N) __name__ __module__ __qualname__ descriptionr user_optionsboolean_optionsr/r%r3rPr&r$r r s8K Q   *lnn -   LR   ?$LL>==O&e44N      *2>2>2>2>2>r&r )__doc__r,corerutilrdir_utilrrerrorsr sysconfigr distutils._logr r rWr&r$r_s  33333333++++++******>>>>>>>>>>r&