tis-python27

2.7.13-1
Python 2.7 pywin32
15362 downloads
Download

  Description 

  • package : tis-python27
  • version : 2.7.13-1
  • architecture : all
  • categories :
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • description : Python 2.7 pywin32
  • locale :
  • target_os :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:40:00.069339

  Setup.py 

#!/usr/bin/python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
#    This file is part of WAPT
#    Copyright (C) 2013  Tranquil IT Systems http://www.tranquil.it
#    WAPT aims to help Windows systems administrators to deploy
#    setup and update applications on users PC.
#
#    WAPT is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    WAPT is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with WAPT.  If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
from setuphelpers import *
import glob

uninstallkey = []


def install():
    print("Install python MSI")
    install_msi_if_needed('python-2.7.13.msi',killbefore=['python','pyscripter'],
        properties = dict(ALLUSERS=1,TARGETDIR=r'C:\python27'))

    killalltasks(['python.exe','pyscripter.exe'])
    print("Copy platlib")
    run(r"xcopy /Y /s PLATLIB\* c:\python27\Lib\site-packages\ ")
    if glob.glob('site-packages/*'):
        print("Copy site-packages")
        run(r"xcopy /Y /s site-packages\* c:\python27\Lib\site-packages\ ")
    print("Copy scripts")
    run(r"xcopy /Y /s setuptools-scripts c:\python27\SCRIPTS\ ")
    print("Win32 post-install")
    run(r'c:\python27\python.exe "%s" -install  -silent' % (makepath(basedir,'pywin32_postinstall.py'),))

										

  Changelog 



No changelog.txt.
									
  manifest.sha256