File: site_init.py

package info (click to toggle)
scons 4.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 46,180 kB
  • sloc: xml: 202,012; python: 137,621; javascript: 4,670; sh: 1,049; perl: 493; ruby: 229; makefile: 213; ansic: 188; java: 139; f90: 108; cpp: 71; yacc: 39; lex: 10; fortran: 3
file content (22 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: MIT
#
# Copyright The SCons Foundation

# flake8: noqa
import os.path

from SConsRevision import SCons_revision
from Utilities import is_windows, whereis, platform, deb_date
# from zip_utils import unzipit, zipit, zcat
from soe_utils import soelim, soscan, soelimbuilder
# from epydoc import epydoc_cli, epydoc_commands
from BuildCommandLine import BuildCommandLine
from scons_local_package import install_local_package_files, create_local_packages
from update_build_info import update_init_file

gzip = whereis('gzip')
git = os.path.exists('.git') and whereis('git')
unzip = whereis('unzip')
zip_path = whereis('zip')

BuildCommandLine.git = git