tis-waptdev

20.0-9
Useful tools to develop WAPT packages (IDE, etc.)
4400 downloads
Download

  Description 

  • package : tis-waptdev
  • version : 20.0-9
  • architecture : all
  • categories : Development
  • maintainer : Tranquil IT
  • description : Useful tools to develop WAPT packages (IDE, etc.)
  • locale : all
  • target_os : windows
  • min_wapt_version : 1.7
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr : Outils utiles pour développer les paquets WAPT (EDI, etc.)
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Tranquil IT
  • licence :
  • signature_date : 2021-03-03T11:30:12.862509
  • Homepage : https://www.wapt.fr/en/doc/wapt-create-packages/index.html
  • Depends :

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

# Defining variables
fw_rule_name_py = 'WAPT Python'
fw_rule_name_py_scripts = 'WAPT Python Scripts'


def install():
    print("Removing old WAPT Python firewall rules")
    run_notfatal('netsh advfirewall firewall delete rule name="wapt-python"')
    run_notfatal('netsh advfirewall firewall delete rule name="python"')
    remove_programs_menu_shortcut('Pyscripter-Python WAPT')

    print("Opening firewall rules for WAPT Python")
    print('netsh advfirewall firewall add rule name="%s" dir=in action=allow program="%s" enable=yes' % (fw_rule_name_py, makepath(WAPT.wapt_base_dir, 'python.exe')))
    run_notfatal('netsh advfirewall firewall add rule name="%s" dir=in action=allow program="%s" enable=yes' % (fw_rule_name_py, makepath(WAPT.wapt_base_dir, 'python.exe')))
    print('netsh advfirewall firewall add rule name="%s" dir=in action=allow program="%s" enable=yes' % (fw_rule_name_py_scripts, makepath(WAPT.wapt_base_dir, 'Scripts', 'python.exe')))
    run_notfatal('netsh advfirewall firewall add rule name="%s" dir=in action=allow program="%s" enable=yes' % (fw_rule_name_py_scripts, makepath(WAPT.wapt_base_dir, 'Scripts', 'python.exe')))


def uninstall():
    print("Removing firewall rules")
    run_notfatal('netsh advfirewall firewall delete rule name="%s"' % fw_rule_name_py)
    run_notfatal('netsh advfirewall firewall delete rule name="%s"' % fw_rule_name_py_scripts)




def update_package():
    pass


										

  Changelog 



No changelog.txt.
									
  manifest.sha256