tis-python27

2.7.6-8
Python 2.7 + pip, pil, rocket, flask, jinja2, m2crypto, configobj, iniparse, netifaces, psutil, pywin32, requests, dnspython, winshell, wmi, zmq
15366 downloads
Download

  Description 

  • package : tis-python27
  • version : 2.7.6-8
  • architecture : x86
  • categories :
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • description : Python 2.7 + pip, pil, rocket, flask, jinja2, m2crypto, configobj, iniparse, netifaces, psutil, pywin32, requests, dnspython, winshell, wmi, zmq
  • 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:02.222287

  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 *

uninstallkey = ['{C3CC4DF5-39A5-4027-B136-2B3E1F5AB6E2}']

def install():
    if isrunning('python'):
        print("kill python")
        killalltasks('python.exe')
    if isrunning('pyscripter'):
        print("kill pyscripter")
        killalltasks('pyscripter.exe')

    print("Install python MSI")
    run(r"msiexec /i python-2.7.6.msi ALLUSERS=1 TARGETDIR=C:\python27 /qn")
    print("Copy platlib")
    run(r"xcopy /Y /s PLATLIB\* c:\python27\Lib\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 " + os.path.join(basedir,"pywin32_postinstall.py") + " -install  -silent")

										

  Changelog 



No changelog.txt.
									
  manifest.sha256