expandvars (val ) 23 24 25 if ismacos : 26 27 SWBASE = '/Users/Shared/calibre-build/sw' 28 SW = SWBASE + '/sw' 29 30 def install_env (): 31 setenv ( 'SWBASE', SWBASE ) 32 setenv ( 'SW', SW ) 33 setenv ( 34 'PATH', 35 '$SW/bin:$SW/qt/bin:$SW/python/amework/Versions/2.7/bin:$PWD/node_modules/.bin:$PATH' 36 ) 37 setenv ( 'CFLAGS', '-I$SW/include' ) 38 setenv ( 'LDFLAGS', '-L$SW/lib' ) 39 setenv ( 'QMAKE', '$SW/qt/bin/qmake' ) 40 setenv ( 'QTWEBENGINE_DISABLE_SANDBOX', '1' ) 41 setenv ( 'QT_PLUGIN_PATH', '$SW/qt/plugins' ) 42 old = os. lower () 17 ismacos = 'darwin' in _plat 18 iswindows = 'win32' in _plat or 'win64' in _plat 19 20 21 def setenv (key, val ): 22 os. request import urlopen 15 16 _plat = sys. As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers.Īlternatively you can here view or download the uninterpreted source code file.įor more information about "unix-ci.py" see the Fossies "Dox" file reference documentation.ġ #!/usr/bin/env python 2 # License: GPLv3 Copyright: 2017, Kovid Goyal 3 4 5 import glob 6 import io 7 import os 8 import shlex 9 import subprocess 10 import sys 11 import tarfile 12 import time 13 from tempfile import NamedTemporaryFile 14 from urllib.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |