Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
distutils
/
command
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/distutils/command/bdist_wininst.pyc
mò ‚=5Dc�����������@���s���d��Z��d�Z�d�k�Z�d�k�Z�d�k�Z�d�k�l�Z�d�k�l�Z�d�k �l �Z �l�Z�d�k�Td�k �l�Z�d�k�l�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.s9���$Id: bdist_wininst.py 37828 2004-11-10 22:23:15Z loewis $N(���s���Command(���s���get_platform(���s���create_trees���remove_tree(���t���*(���s���get_python_version(���s���logt ���bdist_wininstc�������� ���B���s£���t��Z�d�Z�d'�d�d�d�d�f�d�d��d �d �f�d(�d)�d*�d+�d,�d-�d.�d/�g�Z�d�d�d�d�g�Z�d �„��Z�d!�„��Z�d"�„��Z�d#�„��Z �d��d$�„�Z �d%�„��Z�d&�„��Z�RS(0���Ns-���create an executable installer for MS Windowss ���bdist-dir=s1���temporary directory for creating the distributions ���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=sT���basename of installation script to be run afterinstallation 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 distributionc���������C���sg���d��|��_�d�|��_�d�|��_�d�|��_�d��|��_�d��|��_�d��|��_�d��|��_ �d�|��_ �d��|��_�d��|��_�d��S(���Ni����( ���t���Nonet���selft ���bdist_dirt ���keep_tempt���no_target_compilet���no_target_optimizet���target_versiont���dist_dirt���bitmapt���titlet ���skip_buildt���install_scriptt���pre_install_script(���R ���(����(����t5���/usr/lib/python2.4/distutils/command/bdist_wininst.pyt���initialize_options7���s���� c���������C���s��|��i�d��j�o.�|��i�d�ƒ�i�}�t�i�i�|�d�ƒ�|��_�n�|��i�p �d�|��_�n�|��i �oT�|��i �i�ƒ��oD�t�ƒ��}�|��i�o$�|��i�|�j�o�t�d�|�f�‚�n�|�|��_�n�|��i�d�d�ƒ�|��i�oL�xI�|��i �i�D]'�}�|��i�t�i�i�|�ƒ�j�o�PqÛ�qÛ�Wt�d�|��i�‚�n�d��S(���Nt���bdistt���wininstt����sM���target version can only be %s, or the '--skip_build' option must be specifiedR���s(���install_script '%s' not found in scripts(���s���dist_dirs���dist_dir(���R ���R ���R���t���get_finalized_commandt ���bdist_baset���ost���patht���joinR���R���t���distributiont���has_ext_modulest���get_python_versiont ���short_versiont���DistutilsOptionErrort���set_undefined_optionsR���t���scriptst���scriptt���basename(���R ���R&���R���R"���(����(����R���t���finalize_optionsG���s"���� � c���������C���s��t��i�d�j�o0�|��i�i�ƒ��p�|��i�i�ƒ��o�t�d�ƒ�‚�n�|��i�p�|��i�d�ƒ�n�|��i �d�d�d�ƒ}�|��i�|�_�|��i�|�_�d�|�_ �|��i �d�ƒ�} �d�| �_�d�| �_�|��i�i�ƒ��o}�|��i�}�|�p(�|��i�p �t�d �‚�t��i�d�d �!}�n�d�t�ƒ��|�f�} �|��i�d�ƒ�}�t�i�i�|�i�d�| �ƒ�|�_�n�xL�d�D]D�}�t�i�|�ƒ�}�|�d�j�o�|�d�}�n�t!�|�d�|�|�ƒ�qFWt"�i#�d�|��i�ƒ�|�i$�ƒ��t��i�i%�d�t�i�i�|��i�d�ƒ�ƒ�|�i&�ƒ��t��i�d�=d�k'�l(�}�|�ƒ��}�|��i�i*�ƒ��}�|��i,�|�d�d�|��i�ƒ}�|��i.�|�|�|��i/�ƒ�t"�i0�d�|�ƒ�t�i1�|�ƒ�|��i2�p�t3�|��i�d�|��i4�ƒ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_libs ���Should have already checked thisi���s���.%s-%st���libt���purelibt���platlibt���headersR%���t���datas���/Include/$dist_namet���install_s���installing to %st���PURELIB(���s���mktempt���zipt���root_dirs���removing temporary file '%s't���dry_run(���R/���R0���R1���s���scriptss���data(5���t���syst���platformR ���R���R ���t���has_c_librariest���DistutilsPlatformErrorR���t���run_commandt���reinitialize_commandR+���R ���t���roott���warn_dirR-���t���compilet���optimizeR���t���AssertionErrort���versiont���get_platformt���plat_specifierR���R*���R���R���R���t ���build_baset ���build_libt���keyt���stringt���uppert���valuet���setattrt���logt���infot���ensure_finalizedt���insertt���runt���tempfilet���mktempt���archive_basenamet���get_fullnamet���fullnamet���make_archivet���arcnamet ���create_exeR���t���debugt���removeR���t���remove_treeR7���(���R ���RH���RS���RX���R���RK���RT���R*���R+���R-���RE���RV���(����(����R���RQ���b���sV����0 � % c���������C���sÙ��g��}�|��i�i�} �|�i�d�ƒ�| �i�p�d�d�}�d�„��}�xƒ�d�d�d�d�d �d �d�d�g�D]c�}�t �| �|�d�ƒ�}�|�oD�|�d �t�i�|�ƒ�|�|�ƒ�f�}�|�i�d�|�|�|�ƒ�f�ƒ�q[�q[�W|�i�d�ƒ�|��i �o�|�i�d�|��i �ƒ�n�|�i�d�|�|�ƒ�ƒ�|�i�d�|��i�ƒ�|�i�d�|��i�ƒ�|��i�o�|�i�d�|��i�ƒ�n�|��i�p �|��i�i�ƒ��}�|�i�d�|�|�ƒ�ƒ�d��k�}�d��k�}�d�|�i�|�i�ƒ��ƒ�|�i�f�} �|�i�d�| �ƒ�t�i�|�d�ƒ�S(���Ns ���[metadata]R���s��� c���������C���s���t��i�|��d�d�ƒ�S(���Ns��� s���\n(���RI���t���replacet���s(���R^���(����(����R���t���escape¼���s����t���authort���author_emailt���descriptiont ���maintainert���maintainer_emailt���namet���urlRC���s��� %s: %ss���%s=%ss��� [Setup]s���install_script=%ss���info=%ss���target_compile=%ds���target_optimize=%ds���target_version=%ss���title=%ss���Built %s with distutils-%ss ���build_info=%s(���t���linesR ���R���t���metadatat���appendt���long_descriptionRN���R_���Re���t���getattrR2���RI���t ���capitalizeR���R���R ���R���R���RU���t���timet ���distutilst���ctimet���__version__t ���build_infoR���(���R ���RN���Re���Rn���R���Rm���Rg���R_���R2���Rq���Rh���(����(����R���t���get_inidata®���s4���� �#% "c���������C���s’��d��k��}�|��i�|��i�ƒ�|��i�ƒ��}�|��i�|�ƒ�} �|��i �d�| �ƒ�|�o%�t�|�d�ƒ�i�ƒ��}�t�|�ƒ�}�n�d�}�t�| �d�ƒ�}�|�i�|��i�ƒ��ƒ�|�o�|�i�|�ƒ�n�y�t�Wn�t�j �o�n%�Xt�|�t�ƒ�o�|�i�d�ƒ�}�n�|�d�}�|��i�o*�t�|��i�d�ƒ�i�ƒ��}�|�|�d�}�n�|�d�}�|�i�|�ƒ�|�i�d �d �t�|�ƒ�|�ƒ�} �|�i�| �ƒ�|�i�t�|�d�ƒ�i�ƒ��ƒ�d��S(���Ns���creating %st���rbi����t���wbt���mbcst����t���rs��� �s���<iiii{V4(���t���structR ���t���mkpathR���Rr���t���cfgdatat���get_installer_filenameRV���t���installer_namet���announceR���t���opent���readt ���bitmapdatat���lent ���bitmaplent���filet���writet ���get_exe_bytest���unicodet ���NameErrort ���isinstancet���encodeR���t���script_datat���packt���headerRX���(���R ���RX���RV���R���Rƒ���Rx���R‚���R€���Rz���RŒ���R|���RŠ���(����(����R���RY���Ý���s>���� c���������C���sS���|��i�o)�t�i�i�|��i�d�|�|��i�f�ƒ�}�n�t�i�i�|��i�d�|�ƒ�}�|�S(���Ns���%s.win32-py%s.exes���%s.win32.exe(���R ���R���R���R���R���R���RV���R|���(���R ���RV���R|���(����(����R���R{�����s���� c���������C���s¸���d�k��l�}�t�ƒ��}�|��i�oQ�|��i�|�j�oA�|��i�|�j�o �|�ƒ��}�qz�|��i�d�j��o �d�}�qz�d�}�n �|�ƒ��}�t�i�i �t �ƒ�}�t�i�i�|�d�|�ƒ�}�t�|�d�ƒ�i�ƒ��S(���N(���s���get_build_versions���2.4t���6s���7.1s���wininst-%s.exeRs���(���t���distutils.msvccompilert���get_build_versionR!���t���cur_versionR ���R���t���bvR���R���t���dirnamet���__file__t ���directoryR���t���filenameR~���R���(���R ���R���R���R‘���R”���R•���(����(����R���R…���"��s���� (���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=NsT���basename of installation script to be run afterinstallation 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( ���t���__name__t ���__module__Rb���R���t���user_optionst���boolean_optionsR���R(���RQ���Rr���RY���R{���R…���(����(����(����R���R������s���A L /7 (���t���__doc__t���__revision__R8���R���RI���t���distutils.coret���Commandt���distutils.utilRD���t���distutils.dir_utilt���create_treeR\���t���distutils.errorst���distutils.sysconfigR!���Rn���RM���R���(���R›���RI���R!���R\���R8���R���RD���R ���R���R���RM���(����(����R���t���?���s���