����JFIF���������
1#@!#!123s
D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
distutils
/
command
/
Filename :
bdist_wininst.pyo
back
Copy
� �V~gc�����������@���s����d��Z��d�Z�d�d�l�Z�d�d�l�Z�d�d�l�Z�d�d�l�m�Z�d�d�l�m�Z�d�d�l �m �Z �d�d�l�m�Z�m �Z �d�d�l�m�Z�d�d �l�m�Z�d �e�f�d�������YZ�d�S(���sz���distutils.command.bdist_wininst Implements the Distutils 'bdist_wininst' command: create a windows installer exe-program.s���$Id$i����N(���t���get_python_version(���t���Command(���t���remove_tree(���t���DistutilsOptionErrort���DistutilsPlatformError(���t���log(���t���get_platformt ���bdist_wininstc�����������B���s����e��Z�d��Z�d,�d�d�d�e����f�d�d�d�d �f�d �d+�d�d�f�d-�d.�d/�d0�d1�d2�d3�d4�d5�g �Z�d�d �d�d�g�Z�d$����Z�d%����Z�d&����Z �d'����Z �d+�d(���Z�d)����Z�d*����Z �RS(6���s-���create an executable installer for MS Windowss ���bdist-dir=s1���temporary directory for creating the distributions ���plat-name=t���ps;���platform name to embed in generated filenames (default: %s)s ���keep-tempt���ks/���keep the pseudo-installation tree around after s!���creating the distribution archives���target-version=s!���require a specific python versions��� on the target systems���no-target-compilet���cs/���do not compile .py to .pyc on the target systems���no-target-optimizet���os;���do not compile .py to .pyo (optimized) on the target systems ���dist-dir=t���ds-���directory to put final built distributions ins���bitmap=t���bs>���bitmap to use for the installer instead of python-powered logos���title=t���ts?���title to display on the installer background instead of defaults ���skip-builds2���skip rebuilding everything (for testing/debugging)s���install-script=sU���basename of installation script to be run after installation or before deinstallations���pre-install-script=s{���Fully qualified filename of a script to be run before any files are installed. This script need not be in the distributions���user-access-control=s����specify Vista's UAC handling - 'none'/default=no handling, 'auto'=use UAC if target Python installed for all users, 'force'=always use UACc���������C���sy���d��|��_�d��|��_�d�|��_�d�|��_�d�|��_�d��|��_�d��|��_�d��|��_�d��|��_ �d��|��_ �d��|��_�d��|��_�d��|��_ �d��S(���Ni����(���t���Nonet ���bdist_dirt ���plat_namet ���keep_tempt���no_target_compilet���no_target_optimizet���target_versiont���dist_dirt���bitmapt���titlet ���skip_buildt���install_scriptt���pre_install_scriptt���user_access_control(���t���self(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyt���initialize_options@���s���� c���������C���sV��|��j��d�d ���|��j�d��k�r�|��j�rR�|��j�rR�|��j�j�d���}�|��j�|�_�n��|��j�d���j�}�t �j �j�|�d���|��_�n��|��j�s��d�|��_�n��|��j�r��|��j�j ����r��t����}�|��j�r��|��j�|�k�r��t�d�|�f���n��|�|��_�n��|��j��d�d �d���|��j�rRxF�|��j�j�D]%�}�|��j�t �j �j�|���k�rPqqWt�d�|��j���n��d��S(���Nt���bdistR���t���wininstt����sM���target version can only be %s, or the '--skip-build' option must be specifiedR���R���s(���install_script '%s' not found in scripts(���R���R���(���R���R���(���R���R���(���t���set_undefined_optionsR���R���R���R���t���distributiont���get_command_objt���get_finalized_commandt ���bdist_baset���ost���patht���joinR���t���has_ext_modulesR����R���R���t���scriptst���basename(���R���R���R&���t ���short_versiont���script(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyt���finalize_optionsR���s4���� c��� ������C���s���t��j�d�k�r<�|��j�j����s-�|��j�j����r<�t�d�����n��|��j�sU�|��j�d���n��|��j�d�d�d��}�|��j �|�_ �|��j�|�_�d�|�_�|��j�|�_�|��j�d���}�d�|�_ �d�|�_�|��j�j����r-|��j�}�|�s��t��j�d�d �!}�n��d �|��j�|�f�}�|��j�d���}�t�j�j�|�j�d�|���|�_�n��xJ�d�D]B�}�t�j�|���}�|�d�k�rb|�d�}�n��t�|�d�|�|���q4Wt�j�d�|��j ���|�j����t��j�j�d�t�j�j�|��j �d�����|�j����t��j�d�=d�d�l�m �}�|����} �|��j�j!����} �|��j"�| �d�d�|��j ��}�|��j#�|�| �|��j$���|��j�j����rDt%����}�n�d�}�|��j�j&�j'�d�|�|��j(�| ���f���t�j)�d�|���t�j*�|���|��j+�s�t,�|��j �d�|��j-��n��d��S(���Nt���win32s^���distribution contains extensions and/or C libraries; must be compiled on a Windows 32 platformt���buildt���installt���reinit_subcommandsi���i����t���install_libi���s���.%s-%st���libt���purelibt���platlibt���headersR+���t���datas���/Include/$dist_namet���install_s���installing to %st���PURELIBi����(���t���mktempt���zipt���root_dirt���anyR���s���removing temporary file '%s't���dry_run(���R6���R7���R8���R+���R9���(.���t���syst���platformR#���R*���t���has_c_librariesR���R���t���run_commandt���reinitialize_commandR���t���roott���warn_dirR���t���compilet���optimizeR���t���versionR%���R'���R(���R)���t ���build_baset ���build_libt���stringt���uppert���setattrR���t���infot���ensure_finalizedt���insertt���runt���tempfileR<���t���get_fullnamet���make_archivet ���create_exeR���R����t ���dist_filest���appendt���get_installer_filenamet���debugt���removeR���R���R@���( ���R���R2���R4���R���t���plat_specifierR1���t���keyt���valueR<���t���archive_basenamet���fullnamet���arcnamet ���pyversion(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyRS���z���sd���� % c���������C���s���g��}�|��j��j�}�|�j�d���|�j�p+�d�d�}�d����}�x��d�d�d�d�d �d �d�d�g�D]a�}�t�|�|�d���}�|�rZ�|�d �t�j�|���|�|���f�}�|�j�d�|�|�|���f���qZ�qZ�W|�j�d���|��j�r��|�j�d�|��j���n��|�j�d�|�|�����|�j�d�|��j���|�j�d�|��j ���|��j �rM|�j�d�|��j ���n��|��j�rm|�j�d�|��j���n��|��j�p�|��j��j ����}�|�j�d�|�|�����d�d��l�}�d�d��l�} �d�|�j�|�j������| �j�f�} �|�j�d�| ���t�j�|�d���S(���Ns ���[metadata]R!���s��� c���������S���s���t��j�|��d�d���S(���Ns��� s���\n(���RM���t���replace(���t���s(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyt���escape����s����t���authort���author_emailt���descriptiont ���maintainert���maintainer_emailt���namet���urlRJ���s��� %s: %ss���%s=%ss��� [Setup]s���install_script=%ss���info=%ss���target_compile=%ds���target_optimize=%ds���target_version=%ss���user_access_control=%ss���title=%si����s���Built %s with distutils-%ss ���build_info=%s(���R#���t���metadataRY���t���long_descriptiont���getattrRM���t ���capitalizeR���R���R���R���R���R���RU���t���timet ���distutilst���ctimet���__version__R)���(���R���t���linesRn���RP���Rf���Rl���R9���R���Rr���Rs���t ���build_info(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyt���get_inidata����s<���� $ c���������C���s���d�d��l��}�|��j�|��j���|��j����}�|��j�|���}�|��j�d�|���|�rr�t�|�d���j����}�t�|���}�n�d�}�t�|�d���} �| �j �|��j ������|�r��| �j �|���n��y�t�Wn�t�k �r��n"�Xt �|�t���r��|�j�d���}�n��|�d�}�|��j�r)t�|��j�d���j����} �|�| �d �}�n �|�d�}�| �j �|���|�j�d �d�t�|���|���}�| �j �|���| �j �t�|�d���j������d��S(���Ni����s���creating %st���rbi����t���wbt���mbcss����t���rs��� �s���<iiii{V4(���t���structt���mkpathR���Rx���RZ���t���announcet���opent���readt���lent���writet ���get_exe_bytest���unicodet ���NameErrort ���isinstancet���encodeR���t���pack(���R���Rb���Ra���R���R}���t���cfgdatat���installer_namet ���bitmapdatat ���bitmaplent���filet���script_datat���header(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyRW�������s>���� c���������C���s`���|��j��r7�t�j�j�|��j�d�|�|��j�|��j��f���}�n%�t�j�j�|��j�d�|�|��j�f���}�|�S(���Ns���%s.%s-py%s.exes ���%s.%s.exe(���R���R'���R(���R)���R���R���(���R���Ra���R����(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyRZ���5��s���� c���������C���s��d�d�l��m�}�t����}�|��j�rm�|��j�|�k�rm�|��j�|�k�rL�|����}�qv�|��j�d�k��rd�d�}�qv�d�}�n �|����}�t�j�j�t���}�|��j�d�k�r��|��j�d� d�k�r��|��j�d�}�n�d �}�t�j�j �|�d �|�|�f���}�t �|�d���}�z�|�j����SWd��|�j����Xd��S(���Ni����(���t���get_build_versions���2.4g������@gffffff@R0���i���t���winR!���s���wininst-%.1f%s.exeRy���( ���t���distutils.msvccompilerR����R����R���R'���R(���t���dirnamet���__file__R���R)���R����R����t���close(���R���R����t���cur_versiont���bvt ���directoryt���sfixt���filenamet���f(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyR����C��s$���� "N(���s ���bdist-dir=Ns1���temporary directory for creating the distribution(���s���no-target-compileR ���s/���do not compile .py to .pyc on the target system(���s���no-target-optimizeR���s;���do not compile .py to .pyo (optimized) on the target system(���s ���dist-dir=R���s-���directory to put final built distributions in(���s���bitmap=R ���s>���bitmap to use for the installer instead of python-powered logo(���s���title=R���s?���title to display on the installer background instead of default(���s ���skip-buildNs2���skip rebuilding everything (for testing/debugging)(���s���install-script=NsU���basename of installation script to be run after installation or before deinstallation(���s���pre-install-script=Ns{���Fully qualified filename of a script to be run before any files are installed. This script need not be in the distribution(���s���user-access-control=Ns����specify Vista's UAC handling - 'none'/default=no handling, 'auto'=use UAC if target Python installed for all users, 'force'=always use UAC(���t���__name__t ���__module__Ri���R���R���t���user_optionst���boolean_optionsR���R/���RS���Rx���RW���RZ���R����(����(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyR������sN���� ��������� ( S 17 (���t���__doc__t���__revision__RA���R'���RM���t ���sysconfigR����t���distutils.coreR���t���distutils.dir_utilR���t���distutils.errorsR���R���Rs���R���t���distutils.utilR���R���(����(����(����sD���/opt/alt/python27/lib64/python2.7/distutils/command/bdist_wininst.pyt���<module>���s���