tis-pyscripter 3.1.0-2

  • package : tis-pyscripter
  • version : 3.1.0-2
  • architecture : all
  • locale :
  • description : Environement de developpement python
  • maintainer : TIS <technique@tranquil-it-systems.fr>
  • date : 2018-02-27 19:06:56
  • min_os_version :
  • max_os_version :

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 codecs

uninstallkey=[]

def install():
    install_exe_if_needed('PyScripter-v3.1.0-Setup.exe','/VERYSILENT',key='PyScripter_is1',min_version='3.1.0',killbefore=['PyScripter'])

    import common
    if not common.is_system_user():
        session_setup()

def session_setup():
    try:
        python_init_fn = makepath(application_data(),'PyScripter','python_init.py')
        ensure_dir(python_init_fn)
        if isfile(python_init_fn):
            content = codecs.open(python_init_fn,'r',encoding='utf8').read()
        else:
            content = ''
        wapt_base_dir = makepath(programfiles32,'wapt')
        if not isdir(wapt_base_dir):
            wapt_base_dir = r'c:\wapt'
        site_packages = makepath(wapt_base_dir,'lib','site-packages')

        if not "site.addsitedir(r'%s')" % site_packages in content.splitlines():
            with codecs.open(python_init_fn,'a',encoding='utf8') as f:
                print('Add wapt sitedir to %s'%python_init_fn)
                f.write("\nimport sys\n")
                f.write("sys.path.insert(0,r'%s')\n" % wapt_base_dir)
                f.write("sys.path.insert(0,r'%s')\n" % site_packages)
                f.write("\nimport site\n")
                f.write("site.addsitedir(r'%s')\n" % site_packages )
    except Exception as e:
        print(u'Error in session-setup : %s' % ensure_unicode(e))
        raise


    

Changelog



Version 3.1 (31/12/2017)
    New features:
        Code folding
        Indentation lines
        New IDE option "Compact line numbers"
        pip tool added
        Internal Interpreter is hidden by default
        Kabyle language added
    Issues addressed:
        python logging now works when using remote interpreter !
        #16, #685, #690, #718, #721, #765, #814, #836

Version 2.6 (March 20, 2015)
    New features:
    Python 3.4 support added

Version 2.5 (March 19, 2012)
    New features:
    This is the first joint 32-bit and 64-bit version release
    Python 3.3 support added
    Recent Projects menu item added
    Expandable lists and tuples in the Variables window ( Issue 583 )
    Expandable watches as in the Variables window ( Issue 523 )
    Basic support for Cython files added ( Issue 542 )
    New interpreter action Paste & Execute ( Issue 500 ) Replaces Paste with Prompt
    New PyIDE option "Display package names in editor tabs" default True ( Issue 115 )
    New search option "Auto Case Sensitive" (case insensitive when search text is lower case)
    The Abort command raises a KeyboardInterrupt at the Remote Engine ( Issue 618 )
    Incremental search in the Project Explorer matches any part of a filename (Issue 623)
    New IDE option "File line limit for syntax check as you type" default 1000
    Issues addressed:
     Issue 516 ,  Issue 348 ,  Issue 549 ,  Issue 563 ,  Issue 564 ,  Issue 568 ,  Issue 576 ,  Issue 587 ,  Issue 591 ,  Issue 592 ,  Issue 594 ,  Issue 597 ,  Issue 598 ,  Issue 599 ,  Issue 612 ,  Issue 613 ,  Issue 615 
    

manifest.sha256

WAPT/icon.png 83092815859a13c15223c22ab138ffc9c8b48685bfe3f13b58bedbdcb65cfe31
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj e4d5ed06ec9e8c2adf1a07f10b7bdaa404997711a9a073c7b5a5e828cac0807c
setup.py 4e8c292803d8c63715f2b1e291ec2230fb8bfa22e076103484b298f2ca1e7bdd
PyScripter-v3.1.0-Setup.exe d632c8555493f6a17530ca4da0a764c4342cba522f8f08c272ed652c366bfb30
WAPT/control 4b13feacb0739697cd2a8fa21bd8c4ecb9e587f676721c98cedebc3310bd96c4
WAPT/changelog.txt 23a8f2c680a72c713a7a24f44113d46ffa813c2ba013503786d03d1c798b52f7