[pyzo] 31/68: Remove last bits of pyzolib
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Sep 28 09:47:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository pyzo.
commit 8823dc4bb7d2016115a904b7606ae7849fc89b17
Author: Almar Klein <almar.klein at gmail.com>
Date: Mon Sep 5 16:03:10 2016 +0200
Remove last bits of pyzolib
---
pyzo/__init__.py | 7 -------
pyzo/core/about.py | 11 ++++-------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/pyzo/__init__.py b/pyzo/__init__.py
index 81f2103..d1cefc3 100644
--- a/pyzo/__init__.py
+++ b/pyzo/__init__.py
@@ -51,13 +51,6 @@ import locale
if sys.version < '3':
raise RuntimeError('Pyzo requires Python 3.x to run.')
-# Check pyzolib version
-import pyzolib
-if pyzolib.__version__ < '0.2.5':
- raise RuntimeError('Pyzo requires Pyzolib 0.2.5 or higher.')
-elif pyzolib.__version__ < '0.2.9':
- print('Warning: pyzolib 0.2.9 is recommended to run Pyzo.')
-
# Import yoton as an absolute package
from pyzo import yotonloader
from pyzo.util import paths
diff --git a/pyzo/core/about.py b/pyzo/core/about.py
index 71411f4..f1a1549 100644
--- a/pyzo/core/about.py
+++ b/pyzo/core/about.py
@@ -2,7 +2,6 @@
import os
import sys
-import pyzolib
from pyzo.util.qt import QtCore, QtGui
import pyzo
@@ -76,7 +75,6 @@ class AboutDialog(QtGui.QDialog):
Pyzo version: <u>{}</u><br>
Platform: {}<br>
Python version: {}<br>
- pyzolib version: {}<br>
Qt version: {}<br>
{} version: {}<br>
<br>
@@ -108,11 +106,10 @@ class AboutDialog(QtGui.QDialog):
versionText = pyzo.__version__ + ' (binary)'
else:
versionText = pyzo.__version__ + ' (source)'
- aboutText = aboutText.format('Pyzo - Python to the people!' ,
- versionText,
- sys.platform,
- sys.version.split(' ')[0],
- pyzolib.__version__,
+ aboutText = aboutText.format('Pyzo - Python to the people!',
+ versionText,
+ sys.platform,
+ sys.version.split(' ')[0],
qtVersion, qtWrapper, qtWrapperVersion,
pyzo.pyzoDir, pyzo.appDataDir)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyzo.git
More information about the debian-science-commits
mailing list