220 Commits

Author SHA1 Message Date
Robin Dunn
bd95bd2b4a Bump version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-08 21:00:08 +00: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
50426ba20c typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@76355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-16 03:02:27 +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
3ecd3ab293 PR 47: print() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-01-15 07:28:25 +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
Robin Dunn
72fee9de94 Change --upload_package to --upload.
Simplify cleanup of older snapshot uploads.  Just keep the last 50 files instead of trying to keep 5 of each type.  It's too easy for those filters to break.

Add ability to upload eggs, wheels, and exe's

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-31 07:48:11 +00:00
Robin Dunn
7d0b8d94d0 Bump to 3.0.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-12-29 03:45:05 +00:00
Robin Dunn
b85e6b0252 Update version number to match wxWidgets
(although I'm not sure we're ready for 3.0…)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-09-11 17:02:21 +00:00
Robin Dunn
2e5b10c207 reset cfg.VERSION after running the setrev command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-11 17:19:02 +00:00
Robin Dunn
ebdfcfe2db Instead of fetching the svn revision every time a Config object is created add a command to fetch it on demand and cache the value for later use.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:30 +00:00
Robin Dunn
e5eefd8625 Add a note about possibly changing the id in addition to the dependency names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-10 00:05:21 +00:00
Robin Dunn
6b4601273a Include the svn revision in the version numbers.
Various other sdist and bdist tweaks and updates.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-30 04:42:00 +00:00
Robin Dunn
429a96c73f Enable finding the wxWidgets folder as a subdir of the main Phoenix folder.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-27 04:28:25 +00:00
Robin Dunn
afc84c41aa Additional tweaks for magic on Linux:
In the bdist_egg build, if one of the libwx* symlinks is actually the soname then we need to keep that one as the real file instead of removing it.

No need to do a wx install if we're using magic.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-03-14 01:16:32 +00:00
Robin Dunn
052696ceca Add version check for MSVC 10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-19 08:33:56 +00:00
Robin Dunn
35fd2e16bf Update copyright year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-21 02:13:03 +00:00
Robin Dunn
5b8bc4fe17 Use textfile_open when loading core.pi to avoid encoding errors in Python3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-16 01:15:21 +00:00
Robin Dunn
32b174134b Verify that the cl.exe used for the wx and py builds is the one that the target Python wants to be built with, and also set the environment vars from that version of the compiler's vcvarsall.bat the same way that distutils does it. Ensure that CPU is set for the wx build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 08:49:44 +00:00
Robin Dunn
b7cf438804 MSW build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-01 01:16:49 +00:00
Robin Dunn
a4353a763e Update to doxygen 1.8.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-05 05:20:18 +00:00
Robin Dunn
5a73d6fd55 Don't echo when checking version of cl.exe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-12 23:59:49 +00:00
Kevin Ollivier
3670519430 Enable etg code to be used to build extensions other than Phoenix itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 17:42:05 +00:00
Kevin Ollivier
852c00aab3 Only strip sysroot if it is specified in cc_args, if it is passed in via environment variables, keep it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 17:40:23 +00:00
Robin Dunn
dc1287e9ce bump to match wx-trunk's version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-11 08:49:51 +00:00
Robin Dunn
9b4fe86559 AMD64 --> x64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-10 05:15:00 +00:00
Robin Dunn
a3c43d0e04 Adapt to new lib dirs, etc. in the Windows build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-02 02:59:30 +00:00
Robin Dunn
85e5a58cc8 A more intelligent fix for LDSHARED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-26 18:25:56 +00:00
Robin Dunn
b55d1879d3 Also set LDSHARED from the wx-config --ld output.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-26 18:25:48 +00:00
Robin Dunn
b443e0e5e9 Ensure that all the extra -isysroot flags are removed from the arg list, not just the first extra one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-15 00:11:14 +00:00
Robin Dunn
3426d72bc3 Some little tweaks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-06 01:15:14 +00:00
Robin Dunn
7a4a5eb4cf Check dependencies and skip running sip if nothing is out of date.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-31 20:31:03 +00:00
Kevin Ollivier
45ac7c4273 Use absolute paths to these includes so that extensions can pick up headers from these dirs as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-30 18:29:45 +00:00
Robin Dunn
1d3fc8dad2 remove the 't' mode for codecs.open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-25 21:35:14 +00:00
Robin Dunn
2011586fa0 Use codecs.open in textfile_open() for Py2.7 so it can work more like open() in Py3, auto-converting to/from utf-8 and unicode. Use textfile_open in parts of the sphinx command that were having encoding errors and also in writeIfChanged().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-25 20:43:48 +00:00
Robin Dunn
b41df0b779 Many, many (many!) changes needed to build and run the Phoenix extension modules with Python 3. Where possible changes were made such that the code works with both Python 2.7 and 3.2 without conditionals. In general the following types of changes were made:
* Changed imports to use either absolute or explicit relative imports.  Implicit relative imports are no longer allowed.

 * Changes to accomodate standard library classes or modues moving to other locations, or being removed entirely.

 * Changes related to print becoming a function, execfile being removed, u'' no longer allowed, and other syntax related issues.

 * Working around C APIs that have changed or simply vanished. (PyInt, PyString, PyBytes, etc.)

 * Dealing with text file objects using strings vs binary file objects using bytes, auto-encoding, and etc.

 * Replacing the use of PyCObject with PyCapsule and dealing with an apparent bug where PyCapsule objects can't be imported from submodules within a package.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-05-24 23:28:02 +00:00
Robin Dunn
79f6e60a7b * Refactor the code for getting the svn revision so it can be shared.
* Refactor the code for uploading files to the nightly server to its own helper function.
* Add command to build and upload a docs tarball.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-19 03:04:04 +00:00
Robin Dunn
9e70e1ba0e Set install names using @loader_path in the extension modules and the wx libs so they can be loaded from the same folder and they can be included in the wx package dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-18 03:33:07 +00:00
Andrea Gavana
003fb0a804 Phoenix:
1) Update documentation generator for `InfoBar`, `ListCtrl` and new additions;
2) Correct the `writeIfChanged` method, we can't use `str(text)` if the wxWidgets docs contain non-ascii compliant docstrings. Just treat them as unicode objects and use `codecs.open` to compare existing files with new docstrings;
3) Add empty stubs for the `ListCtrl Overview` and `Internationalization`, hopefully someone will populate them...
4) Small fix to the `MigrationGuide.txt`.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 20:54:15 +00:00
Robin Dunn
1f9c6d88b0 Turn on the SIP command-line flag that will generate code around every wrapped C++ call to release and reacquire the GIL. After some testing this seems to be the best option and the additional overhead is mostly negligible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 03:19:56 +00:00
Robin Dunn
b0298e71e5 Optionally return an empty list from makeLibName if we're using the monolithic wx lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-23 01:54:42 +00:00
Robin Dunn
0358c27467 Don't unconditionally use the adv and html libs in MSW builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-22 21:37:02 +00:00
Robin Dunn
919078c196 Let the distutils build handle multiple architectures in the ARCH= flag too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 23:51:07 +00:00
Robin Dunn
aa8c0d679f build fixes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 20:37:51 +00:00
Robin Dunn
e79b147024 Initial changes for getting waf builds working well for Phoenix. wx-config based builds are working, still need to do integration with build.py and MSW builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-17 02:56:11 +00:00
Robin Dunn
73554e9d4c add writeIfChanged()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 10:13:46 +00:00
Robin Dunn
a22be70a88 * make clean_sphinx a command function
* Move sphinx specific stuff to the sphinx command out of the etg command
* Make it possible to not run the docs generator
* Don't update some files unless they are newer or changed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 09:50:25 +00:00
Robin Dunn
8db6d43f14 set version to 2.9.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-31 02:30:30 +00:00
Robin Dunn
78c1a61993 Move wxDir() and phoenixDir() to buildtools.config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-30 21:01:09 +00:00
Robin Dunn
143b1ecb58 * Refactor the code that post-processes the code output by SIP to a separate function so it can be used in more than one place.
* Check for the presense of a msgfmt command before trying to rebuild the message catalogs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-20 19:27:21 +00:00