tis-sinequanon icon

Sine Qua Non

Silent install package for Sine Qua Non

2.9.3.4-11

  • package: tis-sinequanon
  • name: Sine Qua Non
  • version: 2.9.3.4-11
  • categories: Utilities
  • maintainer: Administrateur, Amelie LE JEUNE
  • editor: Patrick Pradeau
  • licence: GPL
  • locale: all
  • target_os: windows
  • impacted_process: sinequanon.exe
  • architecture: all
  • signature_date:
  • size: 24.55 Mo
  • installed_size: 41.82 Mo
  • homepage : http://patrice-rabiller.fr/SineQuaNon/menusqn.htm

package           : tis-sinequanon
version           : 2.9.3.4-11
architecture      : all
section           : base
priority          : optional
name              : Sine Qua Non
categories        : Utilities
maintainer        : Administrateur, Amelie LE JEUNE
description       : Sine Qua Non is a particularly simple curve plotter. It is specially designed for high school mathematics teachers (especially to write their documents), but can also be used profitably by students.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_os_version    : 
max_os_version    : 
min_wapt_version  : 
sources           : 
installed_size    : 41816064
impacted_process  : sinequanon.exe
description_fr    : Sine Qua Non est un traceur de courbes particulièrement simple. Il est destiné spécialement aux professeurs de mathématiques de lycées (en particulier pour rédiger leurs documents), mais peut aussi être utilisé avec profit par les élèves.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Patrick Pradeau
keywords          : sine,qua,non,mathematics
licence           : GPL
homepage          : http://patrice-rabiller.fr/SineQuaNon/menusqn.htm
package_uuid      : 81fa9646-6eba-4827-944c-cccfb2bfd2df
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Z0nbhltdYglkLfI7MILqDk9Nja17B8WAEfQ75aZIWZauQp3FcLqGWal9Fr+HkgtsgpJqV6TihQzedF5h39uCNKCh/b7losYsCS2/6GvZBufF+tNPXofHqxhvcbBw8IhJzh8xV/QSILZQIEP00HSMR2HOWAcSJEUcgCqbPsH0E6ws3pWNToWQrxvpfgLvIxenluEWggsawJt1TdDHBmqH/zXgbVwVgE5fGAHWZdWFu3DuL6Cp2hIQCPAo/33cOq68LrmZTAws4E7+5Y8YkNCNuXMdIJqwOZncnqVT1HYFlCv2cFcGFPY3ke7jhN6UApqHTuVbTqj0sw4PYqU7un/hBw==
signature_date    : 2020-11-19T10:16:44.284637
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,signer,signer_fingerprint,signature_date,signed_attributes

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

uninstallkey = []

def install():
    print('installing tis-sinequanon')

    version = control['version'].split('-',1)[0]

    def get_sinequanon_version(key):
        return get_file_properties(makepath(programfiles32, 'Sine qua non','sinequanon.exe'))['FileVersion']

    install_exe_if_needed("Installe_Sinequanon-%s.exe" % version,'/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',key='Sine qua non_is1',min_version=version,get_version=get_sinequanon_version)

    # Kill at end of installation
    killalltasks('Sinequanon.exe')


def update_package():
    try:
        import BeautifulSoup
    except:
        import bs4 as BeautifulSoup
    import requests,re


    proxies = {}
    if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxies = {'http':proxywapt,'https':proxywapt}




    urlversion = 'http://www.patrice-rabiller.fr/SineQuaNon/menusqn.htm'

    page = wgets(urlversion,proxies=proxies)
    bs = BeautifulSoup.BeautifulSoup(page)

    bs_raw_string = str(bs.findAll('p')[3]).split('version ',1)[1]
    version = bs_raw_string.split(' -',1)[0]

    url = 'http://www.patrice-rabiller.fr/telechargements/'
    url64 = url + "Installe_Sinequanon.exe"
    print(url64)


    filenamex64 = "Installe_Sinequanon-%s.exe" % version

    for fileexe in glob.glob('*.exe'):
        if fileexe != filenamex64 :
            print('Delete ' + fileexe)
            remove_file(fileexe)

    if not isfile(filenamex64):
        print('Download ' + url64)
        wget(url64,filenamex64,proxies=proxies)

    control.load_control_from_wapt()

    control.version = version + '-10'
    control.save_control_to_wapt()

05756029ef85f25acbe4679677298bb5968e7ff2bc54e04c261996199742e26d : Installe_Sinequanon-2.9.3.4.exe
d3442f953e2bc03096f7f43c54aa30f16c06f844e42861efa28181377944d00d : Jenkinsfile
13537e3531cd14a3dcb27240589504be4cbbc221987c3e4e7d98d8aee96b129b : README.md
0dcd6fd302c9e7a030823ad263656bf7975cde3a230015e62cec435025693cc7 : setup.py
7dde30ec3e1716816ce43aeaf9eca2d33869d1940cd852d9412739356ead039f : WAPT/icon.png
6fa65e0c47b3d167d60186c8153c7f37ccb44696216fd4e067cbe3d5836f49bb : WAPT/wapt.psproj
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f566a0881d30d2d8d2f116dde45a2e3daa9398ec278ee2bd8d37eb2dac6d5bff : WAPT/control