Commit Graph

112 Commits

Author SHA1 Message Date
Robin Dunn
e2be299412 Merge pull request #1398 from wxWidgets/python-3.8
Changes needed for Python 3.8

(cherry picked from commit ec1600d2cd)
2019-10-21 22:08:26 -07:00
Robin Dunn
2828a0dc7d Fixed merge error 2019-09-13 20:56:10 -07:00
Robin Dunn
7c14d9a4ce Merge pull request #1353 from wxWidgets/neurodroid-embedded
Neurodroid's embedded sample PR plus a few changes of my own

(cherry picked from commit 32815309d4)
2019-09-13 14:03:20 -07:00
Robin Dunn
3b5fb74a22 Merge pull request #1259 from wxWidgets/azure-pipelines
Switch to Azure pipelines

(cherry picked from commit 6dbf2223c3)
2019-09-13 14:03:19 -07:00
Robin Dunn
550ccd8f02 Merge pull request #1252 from wxWidgets/add-backports
Internalize backports

(cherry picked from commit acdd97946e)
2019-09-13 14:03:19 -07:00
Robin Dunn
a1f2e1820e Link richtext with the adv lib 2019-09-13 13:59:00 -07:00
Robin Dunn
f57961ca0e Copy the .rc file and build separately for each extension module 2019-06-22 19:11:07 -07:00
Robin Dunn
77daf71259 Switch back to the default conf.check_python_headers for darwin 2019-06-22 19:10:39 -07:00
Robin Dunn
3499ed6ac9 Change where the debug flags are added to ensure they come after the default -O3 typically added by Python 2019-05-20 20:42:50 -07:00
Scott Talbert
ec06dde7dd Fix building with Python 3.8 on Linux
In Python 3.8, running "python3-config --libs" no longer returns the python
library itself.  This causes Waf's pyembed check to fail as it can't resolve
references to methods in the python library.  There is discussion[1] ongoing
about adding an "embed" mode to python3-config, but at the moment it is not
implemented.  We can work around this, however, in wxPython, by invoking Waf's
check_python_headers() with just the "pyext" feature as "pyembed" isn't needed
in wxPython (as far as I can tell).

[1] https://bugs.python.org/issue36721
2019-05-18 11:31:59 -04:00
Robin Dunn
a7bc15fcce Let --with-opengl default to automatic, don't link with the lib if it wasn't built. 2019-04-17 20:53:08 -07:00
Robin Dunn
790c34e66f Let --enable-mediactrl default to automatic, don't link with the lib if it wasn't built. 2019-04-17 20:38:19 -07:00
Robin Dunn
e9b2b6ef0a Enable wxPython's build to check results of wxWidgets configuration 2019-04-16 21:35:08 -07:00
Robin Dunn
229e4db424 Use the custom check_python_headers on Darwin too 2019-04-16 20:32:45 -07:00
Robin Dunn
d9b25fdc80 Move wxpy_api.h to wx/include/wxPython, so it will be included in the wheel 2018-10-11 12:15:37 -07:00
Robin Dunn
eaf189e14e Revert part of last change for non-MSW 2018-10-03 12:05:24 -07:00
Robin Dunn
647941b36f Move setting of SIP_MODULE[BASE]NAME to buildtools.config 2018-10-03 11:37:34 -07:00
Robin Dunn
08408ab79d Update to sip 4.19.13 snapshot to test fix for siplib module name 2018-10-03 09:47:13 -07:00
Robin Dunn
43411403a4 Begin update to SIP 4.19.12 2018-10-03 09:47:13 -07:00
Robin Dunn
36831dc8b5 This code branch is only for non-windows so no need to conditionalize it.
Also add changelog item.
2018-06-29 11:40:26 -07:00
root
b910acaef1 - readme.rst : hint for custom built python use --option-shared
- wscript : correction to be able to compile for custom built python on 
linux (correct WAF parameters)
- build.py : prepared for waf 2.0.8
2018-06-29 11:13:49 -07:00
Robin Dunn
50dca2d92c Clear LIBPATH_PYEXT and LIB_PYEXT just on darwin 2018-06-22 22:17:15 -07:00
Robin Dunn
e8f1e0b029 Clear LIBPATH_PYEXT and LIB_PYEXT.
Waf is filling these values with the output of pythonX.y-config --libs and --ldflags. On Darwin, at least, this causes an explicit link to the master Python shared lib, which for extension modules we definitely DO NOT WANT as it prevents the stock wxPython wheels from being used with alternate Pythons, like Anaconda, Homebrew and EDM.
2018-06-21 23:27:53 -07:00
Robin Dunn
ebae9b8eac Set LINK_CC and LINK_CXX 2018-06-21 23:04:26 -07:00
Robin Dunn
6d466b5934 Add some messages for waf to print while it is running wx-config
(cherry picked from commit 3f79d925a5)
2018-06-19 12:05:50 -07:00
Robin Dunn
b410f5e570 Update copyright years --> 2018 2018-06-06 10:59:51 -07:00
Robin Dunn
01eb66585e Minor tweaks for some comments 2018-05-30 16:51:22 -07:00
Robin Dunn
ad98695ed8 Fix Windows builds with Python 3.7.
For now just force the compiler toolset to v140.
2018-05-19 17:36:02 -07:00
Robin Dunn
e0cde87412 Update waf to version 2.0.7 2018-05-05 22:19:10 -07:00
Robin Dunn
deb21aa2ed Merge branch 'master' into port-gizmos 2017-12-06 13:15:14 -08:00
Robin Dunn
d3ac0d6ab6 Set min target OSX version here too 2017-11-21 16:09:03 -08:00
Robin Dunn
52711eee4f Merge branch 'master' into port-gizmos 2017-11-03 16:52:37 -07:00
Robin Dunn
666761337b Update SIP to 4.19.4 2017-11-02 21:39:05 -07:00
Robin Dunn
17643e9cd1 Port the LEDNumberCtrl from wxCode/gizmos in Classic 2017-10-27 17:21:59 -07:00
Robin Dunn
541c4882da Add an item to wx.PlatformInfo and wx.__version__ indicating build type:
Development, snapshot or release
2017-09-27 17:25:37 -07:00
Robin Dunn
34630a5707 Add --gtk2 option.
Default to building for gtk3.
Keep --gtk3 flag for compatibility.
2017-08-14 15:31:17 -07:00
Robin Dunn
0879cdc240 Ensure that the locale message catalogs are included in the source and binary archives. 2017-08-11 15:46:04 -07:00
Robin Dunn
e5b4c33421 (re)fetch the license files from wxWidgets when building the sdist,
and ensure it is included in the distribution.
2017-06-23 12:10:23 -07:00
Robin Dunn
925d729a46 Don't use /FS when building for Py34 either 2017-06-01 10:15:48 -07:00
Robin Dunn
85599b5d66 The /FS flag doesn't exist in the VC++ used when building for Python 2.7 2017-05-07 21:56:44 -07:00
Robin Dunn
d818b94998 Clarify comment 2017-04-26 19:17:40 -07:00
Robin Dunn
c6ad8a4b8a Add flags to create .pdb files for the --msvc-relwithdebug option 2017-04-26 18:30:33 -07:00
Robin Dunn
242e054552 Update copyright year 2017-04-20 17:11:13 -07:00
Robin Dunn
39c9a72d02 fix typo 2017-04-17 17:50:22 -07:00
Robin Dunn
b6ab0b1884 Revert "Adding support for Microsoft Visual C++ Compiler for Python 2.7"
This reverts commit 96dc809236.
2017-04-15 11:26:49 -07:00
James Wettenhall
96dc809236 Adding support for Microsoft Visual C++ Compiler for Python 2.7 2017-03-22 08:40:05 +11:00
Robin Dunn
c524ed1a37 Fix typo re: linking aui library 2016-11-24 10:39:47 -08:00
Robin Dunn
5268ebbc73 Add the rest of the AUI modules and classes 2016-10-27 18:49:41 -07:00
Robin Dunn
8f238ad594 Begin adding wrappers for wx.aui 2016-10-25 19:19:08 -07:00
Robin Dunn
33fadd8c5b Link the _richtext module with the adv lib 2016-10-01 01:16:47 -07:00