mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-23 23:54:44 +00:00
Require Python 2.7
This commit is contained in:
parent
b502e1efcc
commit
d36c46a27f
7 changed files with 11 additions and 8 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
|
@ -1,6 +1,7 @@
|
|||
linkchecker (7.4-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
+ Requires Python >= 2.7
|
||||
* Use debhelper v8.
|
||||
|
||||
-- Bastian Kleineidam <calvin@debian.org> Mon, 02 Jan 2012 12:25:46 +0100
|
||||
|
|
|
|||
4
debian/control
vendored
4
debian/control
vendored
|
|
@ -5,9 +5,9 @@ Maintainer: Bastian Kleineidam <calvin@debian.org>
|
|||
Build-Depends: debhelper (>= 8),
|
||||
gettext,
|
||||
hardening-wrapper,
|
||||
python-all-dev (>= 2.6.6-3),
|
||||
python-all-dev (>= 2.7),
|
||||
qt4-dev-tools
|
||||
X-Python-Version: >= 2.6
|
||||
X-Python-Version: >= 2.7
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: http://linkchecker.sourceforge.net/
|
||||
Vcs-Git: git://linkchecker.git.sourceforge.net/gitroot/linkchecker/linkchecker
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Requirements
|
|||
On Mac OS X systems, using MacPorts, Fink or homebrew for software
|
||||
installation is recommended.
|
||||
|
||||
- Install Python >= 2.6 from http://www.python.org/
|
||||
- Install Python >= 2.7 from http://www.python.org/
|
||||
|
||||
- Qt4 SDK development tools from http://qt.nokia.com/downloads
|
||||
The binary "qcollectiongenerator" is used to generate the
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ First, install the required software.
|
|||
template from the source files, you will need xgettext with Python
|
||||
support. This is available in gettext >= 0.12.
|
||||
|
||||
2. Python >= 2.6 from http://www.python.org/
|
||||
2. Python >= 2.7 from http://www.python.org/
|
||||
|
||||
Be sure to also have installed the included distutils module.
|
||||
On most distributions, the distutils module is included in
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ Upgrading
|
|||
|
||||
Migrating from 7.3 to 7.4
|
||||
-------------------------
|
||||
Python 2.7 or newer is required (Python 3.x is not supported though).
|
||||
|
||||
The deprecated options --interactive, --priority and --allow-root
|
||||
have been removed from the commandline client.
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ Main function module for link checking.
|
|||
# imports and checks
|
||||
import sys
|
||||
if not (hasattr(sys, 'version_info') or
|
||||
sys.version_info < (2, 6, 0, 'final', 0)):
|
||||
raise SystemExit("This program requires Python 2.6 or later.")
|
||||
sys.version_info < (2, 7, 0, 'final', 0)):
|
||||
raise SystemExit("This program requires Python 2.7 or later.")
|
||||
import os
|
||||
import re
|
||||
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -31,8 +31,8 @@ It includes the following features:
|
|||
|
||||
import sys
|
||||
if not (hasattr(sys, 'version_info') or
|
||||
sys.version_info < (2, 6, 0, 'final', 0)):
|
||||
raise SystemExit("This program requires Python 2.6 or later.")
|
||||
sys.version_info < (2, 7, 0, 'final', 0)):
|
||||
raise SystemExit("This program requires Python 2.7 or later.")
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
|
|
|
|||
Loading…
Reference in a new issue