Commit Graph

102 Commits

Author SHA1 Message Date
Robin Dunn
224630cf64 Add Config.SIP_TRACE flag 2021-01-07 13:43:11 -08:00
Robin Dunn
c385873d70 Add SIP_ABI to the config object 2021-01-05 11:11:26 -08:00
Robin Dunn
c8e25b79e1 Run SIP via its Python interface rather than as a separate subprocess 2021-01-05 11:01:25 -08:00
Robin Dunn
201228c529 Improve code to use the same CC and CXX as wxWidgets, including flags that may be added on to wx's CC/CXX. 2020-12-01 16:19:38 -08:00
Robin Dunn
7a05d20d82 Merge pull request #1572 from pbrod/Fix_issue1571
Fixes issue 1571:
2020-03-23 16:07:22 -07:00
Robin Dunn
52c00542eb Streamline fetching WX_CONFIG from the environment 2020-03-23 14:50:52 -07:00
Per A. Brodtkorb
e4e8bf8317 Fixes issue 1571:
Adding missing close for open.
If the "close()" call is missing after a "open(filename)" call, the filename isn't guaranteed to be closed before the interpreter exits.
This is generally a bad practice as explained here: https://stackoverflow.com/questions/7395542/is-explicitly-closing-files-important

Also replaced "fid=open(filename) fid.close()" statements for files with the safer
"with open(filename) as fid:" blocks. See https://www.python.org/dev/peps/pep-0343/
2020-03-23 17:16:44 +01:00
Robin Dunn
9b122237c9 if WX_CONFIG is set in the environment then use that instead of defaulting to "wx-config" 2020-03-20 15:25:34 -07:00
Robin Dunn
9f2cc54b48 Update copyright years 2020-03-10 11:41:39 -07:00
Robin Dunn
e7fbe980e1 Use the dpi-aware manifest, if the compiler is new enough to be able to use it. 2019-12-17 19:42:27 -08:00
Robin Dunn
10cd50b68d Ensure setup.h was found before trying to open it 2019-08-21 16:46:26 -07:00
Robin Dunn
98ea1d87f4 Include SIP's license file too 2019-06-28 12:55:05 -07:00
Robin Dunn
03ee6dcd95 Python 2.7 doesn't have TemporaryDirectory
(cherry picked from commit ef81730d8a)
2019-06-22 19:23:27 -07:00
Robin Dunn
6dab1307fa Add option to regenerate sysconfig in broken build environments.
Also add option to print waf's config.log on error.

(cherry picked from commit a2f6c4b402)
2019-06-22 19:23:27 -07:00
Robin Dunn
e234a65cd7 Use textwrap3 on Python 2 2019-05-31 08:57:15 -07:00
Robin Dunn
23fe71ff6d Restore always trying to build the msg catalogs, and
remove the source .mo file when done copying it. (Because they're not committed to wxWidgets repo anymore.)
2019-05-28 14:50:06 -07:00
Robin Dunn
ff1d5402a1 Python 2.7 doesn't have indent 2019-05-27 22:51:53 -07:00
Robin Dunn
40e5ce8bc4 Merge pull request #1208 from RobinD42/some-build-fixes
Enable wxPython's build to check results of wxWidgets configuration

(cherry picked from commit a6f6fff928)
2019-04-17 18:33:16 -07:00
Robin Dunn
e9e3736fa0 Merge pull request #1035 from RobinD42/fix-issue961
include wxpy_api.h

(cherry picked from commit 7300aa4718)
2018-10-11 21:15:10 -07:00
Robin Dunn
ac1a323144 Merge pull request #1026 from RobinD42/sip-4.19.13
Switch to SIP 4.19.13

(cherry picked from commit a268da9b84)
2018-10-03 19:25:45 -07:00
Robin Dunn
f418dde5d8 Merge pull request #893 from RobinD42/fix-darwin-linking
Fix darwin linking
(cherry picked from commit de143e9d83)
2018-06-22 22:46:44 -07:00
Robin Dunn
b77c88a280 Merge tag 'wxPython-4.0.2' into wxPy-4.0.x
(cherry picked from commit 4c56c39e52)
2018-06-17 22:04:22 -07:00
Robin Dunn
a62f26450d Set the length of the revision ID to be output from rev-parse 2018-04-30 23:05:02 -07:00
Tim S
528884e914 fix bugs or issues not related to MSys2 2017-12-12 19:17:10 -05:00
Robin Dunn
dba1c6f159 Use "snapshot" instead of the revision text, that's already in the version number.
Also, spell out "development"
2017-09-27 17:31:36 -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
4c78aa6c12 Use separate build folders for wxPython too 2017-08-14 16:12:40 -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
1bcde3d6fd Combine preamble, wxWindows license and LGPL files into a single LICENSE.txt file 2017-06-23 13:36:23 -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
a15b153200 Fixes needed due to unsyncing the wxW/wxPy version numbers 2017-04-08 10:49:30 -07:00
Robin Dunn
56368cc31d Update copyright in buildtools 2017-02-13 15:29:30 -08:00
Robin Dunn
f280d3a0ea Use the sip -g flag so the GIL is released and reaquired for every API call 2017-01-20 22:04:49 -08:00
Robin Dunn
32a324f73b Some minor cleanup 2016-09-22 09:46:39 -07:00
Robin Dunn
09d4d817e6 Enable runcmd to use a list for the command, and have it quote elements as needed. 2016-07-22 14:41:14 -07:00
Robin Dunn
648e5789fc Enable runcmd to use a list for the command, and have it quote elements as needed. 2016-07-22 14:28:00 -07:00
Robin Dunn
549df8a6d0 Merge branch 'gtk3' of git://github.com/swt2c/Phoenix into gtk3 2016-03-02 18:26:08 -08:00
Scott Talbert
a57bec2e71 Add support for building with GTK3 2016-02-29 20:22:58 -05:00
Robin Dunn
f679024027 Use cp1252 encoding on Windows for cmd output 2016-02-28 00:45:24 -08:00
DietmarSchwertberger
abbf850d56 Add support for Visual Studio 2015 and encoding issues
Replace 'touch' command with Python implementation to reduce dependency on cygwin.
2016-02-28 00:27:28 -08:00
Robin Dunn
2e9b9c7399 Use either 32bit or 64bit builds of SIP on linux 2015-08-10 22:50:53 -07:00
Robin Dunn
db20285f49 Start of porting to newest sip. Not quite ready yet… 2015-03-13 18:28:33 -07:00
Robin Dunn
cd377cdfe0 Update sip to version 4.14.7 2015-03-05 15:37:36 -08:00
Robin Dunn
dba10ef333 * Make the git hash be the "local version label" (see PEP 440) by separating it with a '+'.
* Change the name template for the docs tarball so pip will not think it is part of the local version label and is the package's source code.

* Use version3 for the docset filenames.
2015-02-06 10:31:09 -08:00
Robin Dunn
611417f509 Ensure the pathnames being uploaded are using forward slashes.
A little refactoring
2015-02-03 15:01:10 -08:00
Robin Dunn
27fbae8524 Adapt the build to the new relative location of the wx source 2015-02-03 00:40:14 -08:00
Robin Dunn
b35f75b680 Create a meaningful and sortable build number from the current git revision. 2015-01-31 22:14:01 -08:00
Robin Dunn
e98d311d42 Add the wx language catalogs to wx/locale in the wx package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-17 03:12:02 +00:00
Robin Dunn
801682c786 Some Py3 fixes for PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-02 07:48:20 +00:00
Robin Dunn
7d0f393c5f Switch to a 3 component+tag versioning scheme instead of the 4 component scheme used by Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-02 01:47:27 +00:00