mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 01:30:07 +01:00
Merge pull request #1223 from RobinD42/more-build-tweaks
More build tweaks
This commit is contained in:
@@ -280,10 +280,8 @@ def main(wxDir, args):
|
||||
configure_opts.append("--with-gtk=2")
|
||||
|
||||
wxpy_configure_opts = [
|
||||
"--with-opengl",
|
||||
"--enable-sound",
|
||||
"--enable-graphics_ctx",
|
||||
"--enable-mediactrl",
|
||||
"--enable-display",
|
||||
"--enable-geometry",
|
||||
"--enable-debug_flag",
|
||||
|
||||
Binary file not shown.
6
setup.py
6
setup.py
@@ -89,9 +89,9 @@ Programming Language :: Python :: Implementation :: CPython
|
||||
Topic :: Software Development :: User Interfaces
|
||||
"""
|
||||
|
||||
DEPENDENCIES = [ 'six',
|
||||
'Pillow',
|
||||
]
|
||||
DEPENDENCIES = [ line.strip()
|
||||
for line in open('requirements.txt').readlines()
|
||||
if not line.startswith('#')]
|
||||
|
||||
isWindows = sys.platform.startswith('win')
|
||||
isDarwin = sys.platform == "darwin"
|
||||
|
||||
12
wscript
12
wscript
@@ -221,8 +221,12 @@ def configure(conf):
|
||||
uselib_store='WXHTML', mandatory=True,
|
||||
msg='Finding libs for WXHTML')
|
||||
|
||||
if cfg.checkSetup(wxConfigDir, 'wxUSE_GLCANVAS'):
|
||||
gl_libs = '--libs gl,core,net'
|
||||
else:
|
||||
gl_libs = '--libs core,net'
|
||||
conf.check_cfg(path=conf.options.wx_config, package='',
|
||||
args='--cxxflags --libs gl,core,net' + rpath,
|
||||
args='--cxxflags ' + gl_libs + rpath,
|
||||
uselib_store='WXGL', mandatory=True,
|
||||
msg='Finding libs for WXGL')
|
||||
|
||||
@@ -257,8 +261,12 @@ def configure(conf):
|
||||
uselib_store='WXRICHTEXT', mandatory=True,
|
||||
msg='Finding libs for WXRICHTEXT')
|
||||
|
||||
if cfg.checkSetup(wxConfigDir, 'wxUSE_MEDIACTRL'):
|
||||
mc_libs = '--libs media,core,net'
|
||||
else:
|
||||
mc_libs = '--libs core,net'
|
||||
conf.check_cfg(path=conf.options.wx_config, package='',
|
||||
args='--cxxflags --libs media,core,net' + rpath,
|
||||
args='--cxxflags ' + mc_libs + rpath,
|
||||
uselib_store='WXMEDIA', mandatory=True,
|
||||
msg='Finding libs for WXMEDIA')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user