Opened 9 years ago
Last modified 16 months ago
#13022 needs_info enhancement
Make PyQt an optional spkg
Reported by: | vbraun | Owned by: | tbd |
---|---|---|---|
Priority: | major | Milestone: | sage-wishlist |
Component: | packages: optional | Keywords: | sd40.5 |
Cc: | jason, mhansen | Merged in: | |
Authors: | Volker Braun | Reviewers: | Mike Hansen |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
If you want to use the new IPython QT console you need PyQt (and its dependency sip). This ticket adds the relevant spkgs. Together with zeromq/pyzmq (#12843), I can now run the IPython qtconsole. You need to have qt development libraries already installed in your base system, this only makes Qt available from Sage.
Change History (19)
comment:1 Changed 9 years ago by
- Cc jason mhansen added
comment:2 Changed 9 years ago by
- Status changed from new to needs_review
comment:3 Changed 9 years ago by
- Reviewers set to Mike Hansen
- Status changed from needs_review to positive_review
comment:4 Changed 9 years ago by
Perhaps spkg-install could point out that this doesn't work on OS X:
Extracting package /Users/wstein/sage/build/sage-5.0/spkg/optional/sip-4.13.2.p0.spkg -rw-r--r-- 1 wstein staff 576767 May 27 18:50 /Users/wstein/sage/build/sage-5.0/spkg/optional/sip-4.13.2.p0.spkg Finished extraction **************************************************** Host system: Darwin blastoff.westell.com 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Users/wstein/sage/build/sage-5.0/local/libexec/gcc/x86_64-apple-darwin11.4.0/4.6.3/lto-wrapper Target: x86_64-apple-darwin11.4.0 Configured with: ../src/configure --prefix=/Users/wstein/sage/build/sage-5.0/local --with-local-prefix=/Users/wstein/sage/build/sage-5.0/local --with-gmp=/Users/wstein/sage/build/sage-5.0/local --with-mpfr=/Users/wstein/sage/build/sage-5.0/local --with-mpc=/Users/wstein/sage/build/sage-5.0/local --with-system-zlib --disable-multilib Thread model: posix gcc version 4.6.3 (GCC) **************************************************** WARNING: spkg-install is not executable, making it executable Error: SIP requires Python to be built as a framework This is SIP 4.13.2 for Python 2.7.2 on darwin. The SIP code generator will be installed in /Users/wstein/sage/build/sage-5.0/local/bin. The sip module will be installed in /Users/wstein/sage/build/sage-5.0/local/lib/python2.7/site-packages. The sip.h header file will be installed in /Users/wstein/sage/build/sage-5.0/local/include/python2.7. The default directory to install .sip files in is /Users/wstein/sage/build/sage-5.0/local/share/sip. The platform/compiler configuration is macx-g++. Creating siplib/sip.h... Creating siplib/siplib.c... Creating siplib/siplib.sbf... Creating sipconfig.py... Creating top level Makefile... Creating sip code generator Makefile... Creating sip module Makefile... Error configuring sip. real 0m0.152s user 0m0.100s sys 0m0.043s ************************************************************************ Error installing package sip-4.13.2.p0 ************************************************************************
comment:5 Changed 9 years ago by
Perhaps we can make a pySide package as well or instead? I believe pyside doesn't use sip, and is developed directly by nokia.
comment:6 Changed 9 years ago by
Followups for problems building on OSX at #13047
comment:7 follow-up: ↓ 8 Changed 9 years ago by
There is a sip package at #13047 that actually builds. W00t. But then the PyQT package at http://www.stp.dias.ie/~vbraun/Sage/spkg/PyQt_x11-4.9.1.p0.spkg still fails *instantly*:
gcc version 4.6.3 (GCC) **************************************************** Cannot find qmake (the Qt make tool) If you have a private installation somewhere, put a symlink to qmake into /Users/wstein/sage/build/sage-5.0/local/bin and rerun the PyQt installation. real 0m0.012s user 0m0.004s sys 0m0.006s
comment:8 in reply to: ↑ 7 Changed 9 years ago by
Replying to was:
There is a sip package at #13047 that actually builds. W00t. But then the PyQT package at http://www.stp.dias.ie/~vbraun/Sage/spkg/PyQt_x11-4.9.1.p0.spkg still fails *instantly*:
... because I didn't have Qt itself (an 800MB download!) installed. Now, with Qt installed... it still fails since I don't know how to tell PyQt? where Qt is. But I'll work on that.
comment:9 Changed 9 years ago by
OK, I strongly object to this getting a positive review without the spkg-install starting with a test if you are using OS X, and if so, gives a huge warning about there being no chance it is going to work (and that it has never, ever been tested on OS X).
comment:10 Changed 9 years ago by
- Status changed from positive_review to needs_work
comment:11 Changed 9 years ago by
comment:12 Changed 9 years ago by
Thats a positive review, then?
comment:13 Changed 9 years ago by
From my side, it is a positive review, but perhaps somebody should test in OSX 10.7 where William found some trouble. Also, is there an easy way of adding test suites to both packages?
comment:14 Changed 9 years ago by
To the best of my knowledge they don't come with a testsuite.
comment:15 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:16 Changed 8 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:17 Changed 7 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:18 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:19 Changed 16 months ago by
- Milestone changed from sage-6.4 to sage-wishlist
- Status changed from needs_work to needs_info
Setting spkg proposals that have not seen recent activity to "sage-wishlist".
Looks good to me.