mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Download the sip binary (if it's not already present) to be used, to ensure that all builds are using the same version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,26 +26,11 @@ from distutils.spawn import spawn
|
||||
|
||||
runSilently = False
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# Set some defaults based on the environment or platform
|
||||
|
||||
if os.environ.get('SIP'):
|
||||
SIPdefault = os.environ.get('SIP')
|
||||
elif os.name == 'nt':
|
||||
SIPdefault = 'c:/projects/sip/sip/sipgen/sip.exe'
|
||||
else:
|
||||
path_sip = commands.getoutput("which sip")
|
||||
if os.path.exists(path_sip):
|
||||
SIPdefault = path_sip
|
||||
else:
|
||||
SIPdefault = '/projects/sip/sip/sipgen/sip'
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
class Configuration(object):
|
||||
|
||||
SIP = SIPdefault # Where is the sip binary?
|
||||
##SIP = SIPdefault # Where is the sip binary?
|
||||
SIPINC = 'sip/siplib' # Use our local copy of sip.h
|
||||
SIPGEN = 'sip/gen' # Where the generated .sip files go
|
||||
SIPFILES = 'sip' # where to find other sip files for %Include or %Import
|
||||
|
||||
Reference in New Issue
Block a user