Removed support for pyside

master
Salvo 'LtWorf' Tomaselli 2013-12-27 00:56:57 +07:00
parent c8d9e57a50
commit c12c51dab9
5 changed files with 13 additions and 26 deletions

@ -4,6 +4,7 @@
- Improved select_union_intersect_subtract optimization to avoid parenthesis whenever possible
- Moved feedback service, and added the code for it
- Different way of checking the latest version
- Removed support for pyside
1.1
- Incorrect relational operations now raise an exception instead of returning None

1
debian/changelog vendored

@ -2,6 +2,7 @@ relational (1.2-1) unstable; urgency=medium
* New upstream release
* Point to new upstream location
* Can only use PyQt
-- Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> Fri, 27 Dec 2013 00:35:44 +0100

2
debian/control vendored

@ -19,7 +19,7 @@ Description: Educational tool for relational algebra (standalone module)
Package: relational
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-relational (>= ${binary:Version}), python-qt4 | python-pyside.qtgui, python-qt4 | python-pyside.qtcore, python-qt4 | python-pyside.qtwebkit
Depends: ${misc:Depends}, ${python:Depends}, python-relational (>= ${binary:Version}), python-qt4
Description: Educational tool for relational algebra (graphical user interface)
Relational is primarily a tool to provide a workspace for experimenting with
relational algebra, an offshoot of first-order logic.

@ -83,28 +83,13 @@ if __name__ == "__main__":
if x11:
pyqt = True
import sip # needed on windows
from PyQt4 import QtGuiq
try:
import sip # needed on windows
from PyQt4 import QtGui
from relational_gui import maingui, guihandler, about, surveyForm
except:
print >> sys.stderr, "PyQt seems to be missing, trying to use Pyside"
from PySide import QtCore, QtGui
pyqt = False
if pyqt:
try:
from relational_gui import maingui, guihandler, about, surveyForm
except:
print >> sys.stderr, "Module relational_gui is missing.\nPlease install relational package."
sys.exit(3)
else:
try:
from relational_pyside import maingui, guihandler, about, surveyForm
except:
print >> sys.stderr, "Module relational_pyside is missing.\nPlease install relational package."
sys.exit(3)
print >> sys.stderr, "Module relational_gui is missing.\nPlease install relational package."
sys.exit(3)
about.version = version
surveyForm.version = version

@ -20,4 +20,4 @@
import installer_common
installer_common.c_setup('relational_gui')
installer_common.c_setup('relational_pyside')
#installer_common.c_setup('relational_pyside')